imagingext_pub/exif_api/tsrc/src/ExifReadTest100.cpp
changeset 27 b0bc8115cfe9
parent 0 469c91dae73b
equal deleted inserted replaced
26:33125ea6abcb 27:b0bc8115cfe9
    25 	{
    25 	{
    26 	HBufC8* exif = TUtils::ReadFileL(iFs, KFullExif, 65536);
    26 	HBufC8* exif = TUtils::ReadFileL(iFs, KFullExif, 65536);
    27 	CleanupStack::PushL(exif);
    27 	CleanupStack::PushL(exif);
    28 	CExifRead* read = CExifRead::NewL(*exif, CExifRead::ENoJpeg);
    28 	CExifRead* read = CExifRead::NewL(*exif, CExifRead::ENoJpeg);
    29 	if(!read)
    29 	if(!read)
    30 		User::Leave(KErrGeneral);
    30 	    {
       
    31         delete read;
       
    32 		User::Leave(KErrGeneral);
       
    33 		}
    31 	delete read;
    34 	delete read;
    32 	CleanupStack::PopAndDestroy(exif);
    35 	CleanupStack::PopAndDestroy(exif);
    33 	}
    36 	}
    34 
    37 
    35 // Exif.Read.102
    38 // Exif.Read.102