diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 13:29:47 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-08 13:29:47 +0000 |
commit | 8f1027f24f8b355d17d3197d17d1ccd38c9a64e5 (patch) | |
tree | 361b4efd6f05a634427197c19850e5ed96455d5e | |
parent | b35ac6078fae8ff8d04d6fd7ea725fc8bf71ce3e (diff) |
One additional optimization
-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 8c5880e7..e9df79b0 100644 --- a/hcid/dbus-database.c +++ b/hcid/dbus-database.c @@ -79,9 +79,7 @@ static void exit_callback(void *user_data) remove_record_from_server(user_record->handle); - if (user_record->sender) - g_free(user_record->sender); - + g_free(user_record->sender); g_free(user_record); } |