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 c162f89..7fabef5 100644 (file)
@@ -671,6 +671,7 @@ void ePicLoad::decodeThumb()
                                m_filepara->id = F_JPEG;
                                eDebug("[Picload] Cache File found");
                        }
                                m_filepara->id = F_JPEG;
                                eDebug("[Picload] Cache File found");
                        }
+                       fclose(f);
                }
        }
 
                }
        }