aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--libindicator/indicator-service-manager.c7
2 files changed, 8 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 5e95697..008713a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libindicator (0.4.94-0ubuntu2) UNRELEASED; urgency=low
+
+ * Revert r457 it's creating invalid free errors
+
+ -- Sebastien Bacher <seb128@ubuntu.com> Mon, 02 Apr 2012 11:06:50 +0200
+
libindicator (0.4.94-0ubuntu1) precise; urgency=low
* New upstream release.
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index 33b0557..f58c148 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);
- gchar * new_name = NULL;
- gchar * prev_name = NULL;
+ const gchar * new_name = NULL;
+ const 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,9 +571,6 @@ service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_n
}
}
- g_free (new_name);
- g_free (prev_name);
-
return;
}