picexif.cpp: more FD leak voodoo...
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 5 Apr 2011 14:04:08 +0000 (16:04 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 5 Apr 2011 14:04:08 +0000 (16:04 +0200)
refs bug #599

lib/gdi/picexif.cpp

index 94d581c..8383ee2 100644 (file)
@@ -177,7 +177,7 @@ bool Cexif::DecodeExif(const char *filename, int Thumb)
                switch(marker)
                {
                case M_SOS:
-                       return true;
+                       goto decode_exif_out;
                case M_EOI:
                        printf("No image in jpeg!\n");
                        goto decode_exif_out;