2011-10-13 10:02:38

by Dmitriy Paliy

[permalink] [raw]
Subject: [PATCH BlueZ] 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c
index 82cb274..1910410 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)
--
1.7.4.1



2011-10-13 10:34:09

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH BlueZ] Fix crash on power off in maemo6 after sending DTMF

Hi Dmitriy,

On Thu, Oct 13, 2011, Dmitriy Paliy wrote:
> This fixes regression introduced in
> b48e610314fb466035b198f594c5b6a68126fcf1. Crash happens when powering
> off adapter after sending DTMF tone.
> ---
> audio/telephony-maemo6.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied. Thanks.

Johan