Re: [PATCH] Fix freeing watches list in maemo6 telephony

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dmitriy,

On Wed, Sep 21, 2011 at 3:49 PM, Dmitriy Paliy <dmitriy.paliy@xxxxxxxxx> wrote:
> This fixes regression introduced in 83064481481d23523e5cdd04.
> List watches has to be freed instead of list pending.
> ---
>  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 a5845c4..42d693a 100644
> --- a/audio/telephony-maemo6.c
> +++ b/audio/telephony-maemo6.c
> @@ -2017,7 +2017,7 @@ void telephony_exit(void)
>        g_slist_free_full(pending, pending_req_finalize);
>        pending = NULL;
>
> -       g_slist_free_full(pending, remove_watch);
> +       g_slist_free_full(watches, remove_watch);
>        watches = NULL;
>
>        dbus_connection_unref(connection);
> --
> 1.7.4.1

Nice catch, ack.

-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux