eog r4514 - in trunk: . src
- From: friemann svn gnome org
- To: svn-commits-list gnome org
- Subject: eog r4514 - in trunk: . src
- Date: Fri, 4 Apr 2008 19:49:52 +0100 (BST)
Author: friemann
Date: Fri Apr 4 19:49:52 2008
New Revision: 4514
URL: http://svn.gnome.org/viewvc/eog?rev=4514&view=rev
Log:
2008-04-04 Felix Riemann <friemann svn gnome org>
* src/eog-list-store.c: (eog_list_store_add_files):
* src/eog-properties-dialog.c: (eog_xmp_set_label):
Fix leaks.
Modified:
trunk/ChangeLog
trunk/src/eog-list-store.c
trunk/src/eog-properties-dialog.c
Modified: trunk/src/eog-list-store.c
==============================================================================
--- trunk/src/eog-list-store.c (original)
+++ trunk/src/eog-list-store.c Fri Apr 4 19:49:52 2008
@@ -555,6 +555,7 @@
} else {
eog_list_store_append_image_from_file (store, initial_file);
}
+ g_object_unref (file);
} else if (file_type == G_FILE_TYPE_REGULAR &&
g_list_length (file_list) > 1) {
eog_list_store_append_image_from_file (store, file);
Modified: trunk/src/eog-properties-dialog.c
==============================================================================
--- trunk/src/eog-properties-dialog.c (original)
+++ trunk/src/eog-properties-dialog.c Fri Apr 4 19:49:52 2008
@@ -240,6 +240,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]