diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-11-14 16:03:53 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-11-14 16:03:53 +0000 |
commit | 5ae740ae08871959be20d3d0704b77b2bda05410 (patch) | |
tree | b816b5aaab12f375216799d0b628884a26bc6f9f /audio/headset.c | |
parent | dbf87c7837cb35cee6c6e41c9ab4ee6e2ce3fd95 (diff) |
Minor cleanup
Diffstat (limited to 'audio/headset.c')
-rw-r--r-- | audio/headset.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/headset.c b/audio/headset.c index 0ecc2e4e..ecece281 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -417,10 +417,12 @@ static void register_reply(DBusPendingCall *call, void *data) if (dbus_set_error_from_message(&derr, reply)) { error("Registering failed: %s", derr.message); dbus_error_free(&derr); + dbus_message_unref(reply); raise(SIGTERM); + return; } - else - debug("Successfully registered"); + + debug("Successfully registered headset service"); dbus_message_unref(reply); |