Kaydet (Commit) b8161785 authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Fridrich Štrba

Fix (small) memory leak (as observed with CppunitTest_filter_tiff_test)

Change-Id: Ib840d66882faeca01d07a8764957a1c7c4075ec0
üst 87b9c0bb
...@@ -1368,15 +1368,15 @@ bool TIFFReader::ReadTIFF(SvStream & rTIFF, Graphic & rGraphic ) ...@@ -1368,15 +1368,15 @@ bool TIFFReader::ReadTIFF(SvStream & rTIFF, Graphic & rGraphic )
aAnimation.Insert( aAnimationBitmap ); aAnimation.Insert( aAnimationBitmap );
} }
} }
// Aufraeumen:
for ( i = 0; i < 4; i++ )
delete[] pMap[ i ];
delete[] pColorMap;
delete[] pStripOffsets;
delete[] pStripByteCounts;
} }
} }
// Clean up:
for ( i = 0; i < 4; i++ )
delete[] pMap[ i ];
delete[] pColorMap;
delete[] pStripOffsets;
delete[] pStripByteCounts;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment