File albumshaper-2.1-memory-leak.patch of Package albumshaper
Index: src/backend/manipulations/mosaic.cpp
===================================================================
--- src/backend/manipulations/mosaic.cpp.orig
+++ src/backend/manipulations/mosaic.cpp
@@ -487,8 +487,8 @@ void constructImageTiles(QStringList fil
//---------------------------------
//free up the temporary index list, it's nolonger needed since we now have an
//actual list of the chosen files
- delete fileIndices;
- delete fileIndicesUsed;
+ delete [] fileIndices;
+ delete [] fileIndicesUsed;
fileIndices = NULL;
fileIndicesUsed = NULL;
//---------------------------------