Re: [PATCH 2/2] gobex: Fix removing invalid source

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

 



Hi Szymon,

On Thu, Apr 17, 2014, Szymon Janc wrote:
> Since GLib 2.39 calling g_source_remove on already removed source
> is causing critical warning.
> 
> This was affecting unit/test-gobex-transfer when running with
> GLib 2.40.
> 
> /gobex/test_packet_get_req_suspend_resume:
> (./unit/test-gobex-transfer:28879): GLib-CRITICAL **: Source ID 263 was
>     not found when attempting to remove it
> Trace/breakpoint trap
> ---
>  gobex/gobex.c | 22 +++++++++++++++++-----
>  1 file changed, 17 insertions(+), 5 deletions(-)

Both patches in this set have been applied, however I fine-tuned this
one a bit to have all checks in the consistent "id > 0" form.

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




[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