Commit: 166ef636d7e8a1d7d70f1e7d2ae849add0eab555
Parent: 6d5ce1babb6661616779358c25c7e747e5c06dea
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-04-25 11:12:58
Tree: a945f8751c67b2c6e23fac880552709305a9e454

unit: Fix removing invalid source in test-hfp Since GLib 2.39 calling g_source_remove on already removed source is causing critical warning. This was causing unit/test-hfp to fail when running with GLib 2.40. ./unit/test-hfp /hfp/test_init: (./unit/test-hfp:28878): GLib-CRITICAL **: Source ID 1 was not found when attempting to remove it Trace/breakpoint trap

Diffstat

M unit/test-hfp.c | 5 ++++-

1 files changed, 4 insertions(+), 1 deletions(-)

View Full Diff | Patch