aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-29 20:23:54 -0500
committerTed Gould <ted@canonical.com>2009-10-29 20:23:54 -0500
commitc87569c1ac75b5a97318587df4d913e4841a913c (patch)
tree44bcf3dac39bf431da82ee592dc7ad70821838dd /libindicator
parent12fbcd5566d35303777958048c069d0e8e775b3f (diff)
downloadlibayatana-indicator-c87569c1ac75b5a97318587df4d913e4841a913c.tar.gz
libayatana-indicator-c87569c1ac75b5a97318587df4d913e4841a913c.tar.bz2
libayatana-indicator-c87569c1ac75b5a97318587df4d913e4841a913c.zip
Ah, forgot to free name
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-service-manager.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index 1b169cd..b15aaa8 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -105,6 +105,12 @@ indicator_service_manager_dispose (GObject *object)
static void
indicator_service_manager_finalize (GObject *object)
{
+ IndicatorServiceManagerPrivate * priv = INDICATOR_SERVICE_MANAGER_GET_PRIVATE(object);
+
+ if (priv->name != NULL) {
+ g_free(priv->name);
+ priv->name = NULL;
+ }
G_OBJECT_CLASS (indicator_service_manager_parent_class)->finalize (object);
return;