[gnome-disk-utility/udisks2-port] Don't leak the disk image fd
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility/udisks2-port] Don't leak the disk image fd
- Date: Tue, 26 Jul 2011 17:26:03 +0000 (UTC)
commit ab7cc5d0a20a887660965eb336e4611960daa24c
Author: David Zeuthen <davidz redhat com>
Date: Tue Jul 26 13:25:47 2011 -0400
Don't leak the disk image fd
Signed-off-by: David Zeuthen <davidz redhat com>
src/palimpsest/gduwindow.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/palimpsest/gduwindow.c b/src/palimpsest/gduwindow.c
index 8057fa5..a40b550 100644
--- a/src/palimpsest/gduwindow.c
+++ b/src/palimpsest/gduwindow.c
@@ -464,6 +464,7 @@ on_dtpm_attach_disk_image_activated (GtkMenuItem *item,
NULL, /* GCancellable */
(GAsyncReadyCallback) loop_setup_cb,
loop_setup_data_new (window, filename));
+ g_object_unref (fd_list);
out:
gtk_widget_destroy (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]