aboutsummaryrefslogtreecommitdiff
path: root/src/sound-service-dbus.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-04 14:37:01 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-04 14:37:01 +0000
commit0146cc8f82bca83ce7bff34ff412db762022ea06 (patch)
tree4894f345be1ec40415c1ff4e2ddd2bb94eaaa2aa /src/sound-service-dbus.c
parent16bdc89ecb9aa7e31d7efd8b34b0a632d4440f5e (diff)
downloadayatana-indicator-sound-0146cc8f82bca83ce7bff34ff412db762022ea06.tar.gz
ayatana-indicator-sound-0146cc8f82bca83ce7bff34ff412db762022ea06.tar.bz2
ayatana-indicator-sound-0146cc8f82bca83ce7bff34ff412db762022ea06.zip
free the string array, plug the leaks
Diffstat (limited to 'src/sound-service-dbus.c')
-rw-r--r--src/sound-service-dbus.c1
1 files changed, 1 insertions, 0 deletions
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);