Fix some memory leaks.

Adjusted a unit test or two to make leaks easier to find, and then fixed
a few leaks.

Change-Id: I47a20df8de7cac113d34a2015f76a65ab957dedd
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
Michael Goddard
2012-03-05 11:00:10 +10:00
committed by Qt by Nokia
parent 707be63361
commit 362e443896
7 changed files with 18 additions and 5 deletions

View File

@@ -394,6 +394,7 @@ QCameraFocus::QCameraFocus(QCamera *camera):
QCameraFocus::~QCameraFocus()
{
delete d_ptr;
}
/*!