[virt-tools-list] [PATCH virt-viewer 1/4] Don't leak foreign menu
Hans de Goede
hdegoede at redhat.com
Thu Mar 22 09:17:11 UTC 2012
Looks good, ACK series.
On 03/22/2012 12:25 AM, Marc-André Lureau wrote:
> 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;
> }
More information about the virt-tools-list
mailing list