[Spice-devel] [PATCH spice-gtk] usb-redir-manager: Fix redirect_on_connect string mem leak

Hans de Goede hdegoede at redhat.com
Wed Apr 24 02:16:15 PDT 2013


Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 gtk/usb-device-manager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
index b7f24da..07cfb48 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -322,6 +322,7 @@ static void spice_usb_device_manager_finalize(GObject *gobject)
 #endif
 
     g_free(priv->auto_connect_filter);
+    g_free(priv->redirect_on_connect);
 
     /* Chain up to the parent class */
     if (G_OBJECT_CLASS(spice_usb_device_manager_parent_class)->finalize)
-- 
1.8.2.1



More information about the Spice-devel mailing list