summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <ryanl@src.gnome.org>2008-02-13 07:38:02 +0000
committerRyan Lortie <ryanl@src.gnome.org>2008-02-13 07:38:02 +0000
commit62a75cd2d3ebe11cbbff52b2949d2d3af76bdbb2 (patch)
treeb48045b66cdf6c79da5fdc3f05bb2bbc9e3d01cd
parent470c723399fd39d8aad2788433eb8f86224bb8d6 (diff)
2008-02-12 Ryan Lortie <desrt@desrt.ca.
* src/trash-empty.c: fix small memory leak svn path=/trunk/; revision=10651
-rw-r--r--trashapplet/ChangeLog4
-rw-r--r--trashapplet/src/trash-empty.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/trashapplet/ChangeLog b/trashapplet/ChangeLog
index ead7b759a..4017233d4 100644
--- a/trashapplet/ChangeLog
+++ b/trashapplet/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-12 Ryan Lortie <desrt@desrt.ca.
+
+ * src/trash-empty.c: fix small memory leak
+
2008-02-12 Ryan Lortie <desrt@desrt.ca>
Fix the regression introduced in the last commit. Add progress dialog
diff --git a/trashapplet/src/trash-empty.c b/trashapplet/src/trash-empty.c
index 116b87bfd..02d1881f1 100644
--- a/trashapplet/src/trash-empty.c
+++ b/trashapplet/src/trash-empty.c
@@ -259,6 +259,7 @@ trash_empty_start (GtkWidget *parent)
*widgets[i].pointer = object;
g_object_add_weak_pointer (object, widgets[i].pointer);
}
+ g_object_unref (builder);
cancellable = g_cancellable_new ();
g_signal_connect_object (trash_empty_dialog, "response",