From 0146cc8f82bca83ce7bff34ff412db762022ea06 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Fri, 4 Mar 2011 14:37:01 +0000 Subject: free the string array, plug the leaks --- src/sound-service-dbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound-service-dbus.c b/src/sound-service-dbus.c index ce32beb..67c7e47 100644 --- a/src/sound-service-dbus.c +++ b/src/sound-service-dbus.c @@ -151,6 +151,7 @@ sound_service_dbus_create_root_item (SoundServiceDbus* self) gchar** paths = {'/usr/share/banshee-1/icons'}; dbusmenu_server_set_icon_paths (server, g_strdupv(paths)); + g_strfreev (paths); dbusmenu_server_set_root (server, priv->root_menuitem); g_object_unref (priv->root_menuitem); priv->active_sink = active_sink_new (self); -- cgit v1.2.3