Hi Luiz, On Mon, Oct 03, 2011, Luiz Augusto von Dentz wrote: > On Mon, Oct 3, 2011 at 5:57 PM, Luiz Augusto von Dentz > <luiz.dentz@xxxxxxxxx> wrote: > > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > > > When player is unregistered/destroyed its pdu handler should also be > > removed. > > --- > > audio/avrcp.c | 3 +++ > > 1 files changed, 3 insertions(+), 0 deletions(-) > > > > diff --git a/audio/avrcp.c b/audio/avrcp.c > > index 5aa8dc5..9a73ff4 100644 > > --- a/audio/avrcp.c > > +++ b/audio/avrcp.c > > @@ -1101,6 +1101,9 @@ static void player_destroy(gpointer data) > > if (player->destroy) > > player->destroy(player->user_data); > > > > + if (player->handler) > > + avctp_unregister_pdu_handler(player->handler); > > + > > g_free(player); > > } > > > > -- > > 1.7.6.2 > > Please skip this since player_destroy is not even upstream yet. Ok. The first patch has anyway been pushed upstream. Johan -- 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