diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 13:27:28 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 13:27:28 +0000 |
commit | b35ac6078fae8ff8d04d6fd7ea725fc8bf71ce3e (patch) | |
tree | a9be56f2fd50d0b5133a214560a8996b6ae4ff6f /hcid/dbus-database.c | |
parent | b6ed588dfb99c4b3d12626edb95ff4191351c7b6 (diff) |
Small optimization
Diffstat (limited to 'hcid/dbus-database.c')
-rw-r--r-- | hcid/dbus-database.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hcid/dbus-database.c b/hcid/dbus-database.c index 5924beb6..8c5880e7 100644 --- a/hcid/dbus-database.c +++ b/hcid/dbus-database.c @@ -332,9 +332,7 @@ int remove_record(DBusConnection *conn, const char *sender, remove_record_from_server(handle); - if (user_record->sender) - g_free(user_record->sender); - + g_free(user_record->sender); g_free(user_record); return 0; |