mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
Plug a mem leak. Bug #552691.
* src/nautilus-image-properties-page.c: Plug a mem leak. Bug #552691. svn path=/trunk/; revision=14726
This commit is contained in:
parent
32d109a467
commit
f7cddea837
|
@ -1,3 +1,7 @@
|
|||
2008-10-13 Christian Persch <chpe@gnome.org>
|
||||
|
||||
* src/nautilus-image-properties-page.c: Plug a mem leak. Bug #552691.
|
||||
|
||||
2008-10-13 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-mime-application-chooser.c:
|
||||
|
|
|
@ -324,6 +324,10 @@ load_finished (NautilusImagePropertiesPage *page)
|
|||
GString *str;
|
||||
|
||||
if (page->details->got_size) {
|
||||
#ifdef HAVE_EXIF
|
||||
ExifData *exif_data;
|
||||
#endif
|
||||
|
||||
str = g_string_new (NULL);
|
||||
format = gdk_pixbuf_loader_get_format (page->details->loader);
|
||||
|
||||
|
@ -343,7 +347,9 @@ load_finished (NautilusImagePropertiesPage *page)
|
|||
g_free (desc);
|
||||
|
||||
#ifdef HAVE_EXIF
|
||||
append_exifdata_string (exif_loader_get_data (page->details->exifldr), str);
|
||||
exif_data = exif_loader_get_data (page->details->exifldr);
|
||||
append_exifdata_string (exif_data, str);
|
||||
exif_data_unref (exif_data);
|
||||
#endif /*HAVE_EXIF*/
|
||||
#ifdef HAVE_EXEMPI
|
||||
append_xmpdata_string(page->details->xmp, str);
|
||||
|
|
Loading…
Reference in a new issue