summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-04-24 11:15:42 +0200
committerHans de Goede <hdegoede@redhat.com>2013-04-24 11:15:42 +0200
commitd3f53533a29df73d2dec5933edfbe7f32e6002be (patch)
tree88c5d03c4003361b76b3dafa87d2cdfe477f2352
parent12dc919a7a1bd9e12ae0ffe17a0d5da4d82473ec (diff)
usb-redir-manager: Fix redirect_on_connect string mem leak
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--gtk/usb-device-manager.c1
1 files changed, 1 insertions, 0 deletions
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)