fixed a memory leak
authorVladimir Nadvornik <nadvornik@suse.cz>
Tue, 29 Apr 2008 22:44:06 +0000 (22:44 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Tue, 29 Apr 2008 22:44:06 +0000 (22:44 +0000)
src/image-overlay.c

index 8fd6ab6..5df1031 100644 (file)
@@ -232,6 +232,7 @@ static gchar *image_osd_mkinfo(const gchar *str, ImageWindow *imd, GHashTable *v
                g_free(data);
                }
 
+       exif_free(exif);
        /* search and destroy empty lines */
        end = new->str;
        while ((start = strchr(end, '\n')))