[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH virt-viewer 1/4] Don't leak foreign menu



Looks good, ACK series.

On 03/22/2012 12:25 AM, Marc-André Lureau wrote:
From: Marc-Andre Lureau<marcandre lureau 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;
  }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]