summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Andre Lureau <marcandre.lureau@redhat.com>2012-03-21 22:25:51 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-22 00:24:46 +0100
commit591cb0a97e88f0f1e33321896f720c26691a6472 (patch)
tree3c69d86d20f61c7f5f46589301f63d498a5bd9d6
parent9d22757722889e0240cb278f96845f03362cc503 (diff)
Don't leak foreign menu
The RemoveViewer object will have its own ref.
-rw-r--r--src/remote-viewer.c1
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;
}