diff options
author | Ted Gould <ted@gould.cx> | 2012-04-04 14:35:30 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-04-04 14:35:30 -0500 |
commit | d431c78f3ad88c54a8f3e8c0dec9d872930831da (patch) | |
tree | 2a82d9dbc43d2e7fbddb8a580024a83bb2ef7639 /libindicator/indicator-service-manager.c | |
parent | 28d27ed11c41ca6859c533e6a084c631225c9912 (diff) | |
parent | c136bda24416af489864fa8e1302a7aca259ba3a (diff) | |
download | libayatana-indicator-d431c78f3ad88c54a8f3e8c0dec9d872930831da.tar.gz libayatana-indicator-d431c78f3ad88c54a8f3e8c0dec9d872930831da.tar.bz2 libayatana-indicator-d431c78f3ad88c54a8f3e8c0dec9d872930831da.zip |
* New upstream release.
* Fix a free that shouldn't be (LP: #969360)
* Spelling mistake in error message (LP: #948391)
* Add coverage build targets
* Fix building AUTHORS and Changelog at dist time
Diffstat (limited to 'libindicator/indicator-service-manager.c')
-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; } |