[Spice-devel] [PATCH spice-gtk 4/5] usb-device-manager: Fix redirect_on_connect_rules mem-leak

Hans de Goede hdegoede at redhat.com
Tue Apr 23 05:19:51 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 75406a4..7575417 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -314,6 +314,7 @@ static void spice_usb_device_manager_finalize(GObject *gobject)
     if (priv->event_thread)
         g_thread_join(priv->event_thread);
     free(priv->auto_conn_filter_rules);
+    free(priv->redirect_on_connect_rules);
 #ifdef G_OS_WIN32
     if (priv->installer)
         g_object_unref(priv->installer);
-- 
1.8.2



More information about the Spice-devel mailing list