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 94d581cfa28c63ad5c1b772e8d064bd3e61d5142..8383ee2ff0f725624659b0f286351fb88357aca5 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;