eog r4515 - in branches/gnome-2-22: . src



Author: friemann
Date: Fri Apr  4 20:16:09 2008
New Revision: 4515
URL: http://svn.gnome.org/viewvc/eog?rev=4515&view=rev

Log:
2008-04-04  Felix Riemann  <friemann svn gnome org>

	* src/eog-list-store.c: (eog_list_store_add_uris):
	* src/eog-properties-dialog.c: (eog_xmp_set_label):
	Fix leaks.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/eog-list-store.c
   branches/gnome-2-22/src/eog-properties-dialog.c

Modified: branches/gnome-2-22/src/eog-list-store.c
==============================================================================
--- branches/gnome-2-22/src/eog-list-store.c	(original)
+++ branches/gnome-2-22/src/eog-list-store.c	Fri Apr  4 20:16:09 2008
@@ -586,6 +586,7 @@
 			} else {
 				eog_list_store_append_image_from_uri (store, initial_uri, FALSE);
 			}
+			gnome_vfs_uri_unref (uri);
 		} else if (info->type == GNOME_VFS_FILE_TYPE_REGULAR && 
 			   g_list_length (uri_list) > 1) {
 			eog_list_store_append_image_from_uri (store, uri, FALSE);

Modified: branches/gnome-2-22/src/eog-properties-dialog.c
==============================================================================
--- branches/gnome-2-22/src/eog-properties-dialog.c	(original)
+++ branches/gnome-2-22/src/eog-properties-dialog.c	Fri Apr  4 20:16:09 2008
@@ -228,6 +228,7 @@
 			}
 
 			gtk_label_set_text (GTK_LABEL (w), string->str);
+			g_string_free (string, TRUE);
 		}
 	} else {
 		/* Property was not found */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]