aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-service-manager.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-03-29 13:50:56 -0700
committerCharles Kerr <charles.kerr@canonical.com>2012-03-29 13:50:56 -0700
commit4ecaca4861ec00e19936e9655de38c118bdc9a62 (patch)
tree1ac030eddd79f83c8f1618a84bc85dd316d6f697 /libindicator/indicator-service-manager.c
parent67872e2808a7c4f4d414822198e4a3f951bdf411 (diff)
parent5a839c4176325651423480b7f9770f959bf37f32 (diff)
downloadlibayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.tar.gz
libayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.tar.bz2
libayatana-indicator-4ecaca4861ec00e19936e9655de38c118bdc9a62.zip
Import upstream version 0.4.94
Diffstat (limited to 'libindicator/indicator-service-manager.c')
-rw-r--r--libindicator/indicator-service-manager.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index f58c148..33b0557 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -536,8 +536,8 @@ service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_n
{
IndicatorServiceManagerPrivate * priv = INDICATOR_SERVICE_MANAGER_GET_PRIVATE(user_data);
- const gchar * new_name = NULL;
- const gchar * prev_name = NULL;
+ gchar * new_name = NULL;
+ gchar * prev_name = NULL;
g_variant_get(parameters, "(&s&s&s)", NULL, &prev_name, &new_name);
if (new_name == NULL || new_name[0] == 0) {
@@ -571,6 +571,9 @@ service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_n
}
}
+ g_free (new_name);
+ g_free (prev_name);
+
return;
}