From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> If statement checks for get_id handle but was removing req_id. --- gobex/gobex-transfer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gobex/gobex-transfer.c b/gobex/gobex-transfer.c index 6d2f7af..f5222cd 100644 --- a/gobex/gobex-transfer.c +++ b/gobex/gobex-transfer.c @@ -67,7 +67,7 @@ static void transfer_free(struct transfer *transfer) if (transfer->get_id > 0) g_obex_remove_request_function(transfer->obex, - transfer->req_id); + transfer->get_id); if (transfer->abort_id > 0) g_obex_remove_request_function(transfer->obex, -- 1.7.7.1 -- 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