[Spice-commits] gtk/usb-device-manager.c
Christophe Fergau
teuf at kemper.freedesktop.org
Wed Jun 13 07:03:40 PDT 2012
gtk/usb-device-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc806d5b36a587a33992cadb09fbaa93a6058193
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Wed Jun 13 14:39:09 2012 +0200
Fix build when usbredir is disabled
I broke it with my leak fixes
diff --git a/gtk/usb-device-manager.c b/gtk/usb-device-manager.c
index a3e6ff9..25cb14a 100644
--- a/gtk/usb-device-manager.c
+++ b/gtk/usb-device-manager.c
@@ -233,10 +233,10 @@ static void spice_usb_device_manager_finalize(GObject *gobject)
libusb_exit(priv->context);
if (priv->event_thread)
g_thread_join(priv->event_thread);
+ free(priv->auto_conn_filter_rules);
#endif
g_free(priv->auto_connect_filter);
- free(priv->auto_conn_filter_rules);
/* Chain up to the parent class */
if (G_OBJECT_CLASS(spice_usb_device_manager_parent_class)->finalize)
More information about the Spice-commits
mailing list