From d0ed45425d20caf72e195175ba47169087d61dd5 Mon Sep 17 00:00:00 2001 From: Dmitriy Paliy Date: Thu, 13 Oct 2011 13:02:38 +0300 Subject: [PATCH] Fix crash on power off in maemo6 after sending DTMF This fixes regression introduced in b48e610314fb466035b198f594c5b6a68126fcf1. Crash happens when powering off adapter after sending DTMF tone. --- audio/telephony-maemo6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c index 82cb2741a..191041088 100644 --- a/audio/telephony-maemo6.c +++ b/audio/telephony-maemo6.c @@ -771,7 +771,7 @@ static void start_dtmf_reply(DBusPendingCall *call, void *user_data) DBUS_TYPE_INVALID); dbus_message_unref(reply); - dbus_pending_call_unref(call); + remove_pending(call); } static void start_dtmf(void *telephony_device, char tone) -- 2.47.3