lib/gdi/picload.cpp: add missing fclose (this fixes a ePicload fd leak when thumbnail...
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 12 Nov 2010 16:54:51 +0000 (17:54 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 12 Nov 2010 16:54:51 +0000 (17:54 +0100)
fixes bug #599

lib/gdi/picload.cpp

index c162f89d9c81370649355c6423e4ce8402f75535..7fabef5e9f3dc744f1464eec15e28f5dcb65df6d 100644 (file)
@@ -671,6 +671,7 @@ void ePicLoad::decodeThumb()
                                m_filepara->id = F_JPEG;
                                eDebug("[Picload] Cache File found");
                        }
+                       fclose(f);
                }
        }