[virt-tools-list] [PATCH virt-viewer 1/4] Don't leak foreign menu
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Mar 21 23:25:26 UTC 2012
From: Marc-Andre Lureau <marcandre.lureau at redhat.com>
The RemoveViewer object will have its own ref.
---
src/remote-viewer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
index f0512c8..85ad319 100644
--- a/src/remote-viewer.c
+++ b/src/remote-viewer.c
@@ -198,6 +198,7 @@ remote_viewer_new_with_controller(gboolean verbose)
"verbose", verbose,
NULL);
g_object_unref(ctrl);
+ g_object_unref(menu);
return self;
}
--
1.7.7.6
More information about the virt-tools-list
mailing list