diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2012-04-02 11:07:25 +0200 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2012-04-02 11:07:25 +0200 |
commit | 486523c31460cb25606f2a4f66435c29df1946db (patch) | |
tree | f85f01c36ae51381dc114a99ddf87ab8316b2063 /libindicator | |
parent | 5ce6cdff07e9dbfd8e1aeeca4143fb64b617608a (diff) | |
download | libayatana-indicator-486523c31460cb25606f2a4f66435c29df1946db.tar.gz libayatana-indicator-486523c31460cb25606f2a4f66435c29df1946db.tar.bz2 libayatana-indicator-486523c31460cb25606f2a4f66435c29df1946db.zip |
Revert r457 it's creating invalid free errors
Diffstat (limited to 'libindicator')
-rw-r--r-- | libindicator/indicator-service-manager.c | 7 |
1 files changed, 2 insertions, 5 deletions
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; } |