diff --git a/qthelper.cpp b/qthelper.cpp index b7b6f778b..c8738b28c 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -277,9 +277,10 @@ extern "C" void picture_load_exif_data(struct picture *p, timestamp_t *timestamp *timestamp = exif.epoch(); p->longitude.udeg= lrint(1000000.0 * exif.GeoLocation.Longitude); p->latitude.udeg = lrint(1000000.0 * exif.GeoLocation.Latitude); - picture_load_exit: - free(mem.buffer); - return; + +picture_load_exit: + free(mem.buffer); + return; } static bool lessThan(const QPair &a, const QPair &b)