From 591cb0a97e88f0f1e33321896f720c26691a6472 Mon Sep 17 00:00:00 2001 From: Marc-Andre Lureau Date: Wed, 21 Mar 2012 22:25:51 +0100 Subject: Don't leak foreign menu The RemoveViewer object will have its own ref. --- src/remote-viewer.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3