summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-24 15:09:50 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-10-24 15:09:50 +0300
commitbd4e4d5971cd4beeadb1abfc4503f137dbf76e17 (patch)
tree6e16e978241b581f52b6d9ef00308e65174509f1
parent32a2ee1adb42efe2cef027643fb5b0355929f597 (diff)
No need to remove the ring timer twice in the terminate call case
-rw-r--r--audio/headset.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 8545ae22..f5cb986d 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -777,16 +777,6 @@ int telephony_terminate_call_rsp(void *telephony_device,
AUDIO_HEADSET_INTERFACE, "CallTerminated",
DBUS_TYPE_INVALID);
- if (ag.number) {
- g_free(ag.number);
- ag.number = NULL;
- }
-
- if (ag.ring_timer) {
- g_source_remove(ag.ring_timer);
- ag.ring_timer = 0;
- }
-
return headset_send(hs, "\r\nOK\r\n");
}