diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-24 15:09:50 +0300 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-10-24 15:09:50 +0300 | 
| commit | bd4e4d5971cd4beeadb1abfc4503f137dbf76e17 (patch) | |
| tree | 6e16e978241b581f52b6d9ef00308e65174509f1 /audio/headset.c | |
| parent | 32a2ee1adb42efe2cef027643fb5b0355929f597 (diff) | |
No need to remove the ring timer twice in the terminate call case
Diffstat (limited to 'audio/headset.c')
| -rw-r--r-- | audio/headset.c | 10 | 
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");  } | 
