diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-04-23 14:12:03 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-04-24 09:25:46 +0200 |
commit | 3ae6117ebae938f6092e39192b9631a5b9434688 (patch) | |
tree | 2c363112edb6b309bad6a0573c63d513db63fdc8 | |
parent | 0ebcc23c0642d2bddcb05ed4152497c99cb3ca1d (diff) |
usb-device-manager: Fix redirect_on_connect_rules mem-leak
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | gtk/usb-device-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |