diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-06-18 12:35:05 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-06-18 12:35:05 -0500 |
commit | c9e0ebffe5cb3787c5437bd6ad8482ed8a432ddb (patch) | |
tree | 9aecd6278fab5fcf5ad1f95f922ce63cac5d0f8c /src/session-dbus.c | |
parent | a8bf2f6f5c84909c70a890712bc8b27683a457d7 (diff) | |
download | ayatana-indicator-session-c9e0ebffe5cb3787c5437bd6ad8482ed8a432ddb.tar.gz ayatana-indicator-session-c9e0ebffe5cb3787c5437bd6ad8482ed8a432ddb.tar.bz2 ayatana-indicator-session-c9e0ebffe5cb3787c5437bd6ad8482ed8a432ddb.zip |
clearing house: the remainder of bugfixes & readability changes
Diffstat (limited to 'src/session-dbus.c')
-rw-r--r-- | src/session-dbus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/session-dbus.c b/src/session-dbus.c index 4b9d45f..4ece444 100644 --- a/src/session-dbus.c +++ b/src/session-dbus.c @@ -235,11 +235,8 @@ session_dbus_set_users_real_name (SessionDbus * session, const gchar * name) { SessionDbusPrivate * priv = SESSION_DBUS_GET_PRIVATE(session); GError * error = NULL; - if (priv->name != NULL) { - g_free(priv->name); - priv->name = NULL; - } + g_free (priv->name); priv->name = g_strdup(name); if (priv->bus != NULL) { |