Fix calling watch callbacks after it has been removed
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Mon, 6 Sep 2010 13:39:41 +0000 (16:39 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Sep 2010 16:29:09 +0000 (18:29 +0200)
commitd0f182311216691dceb6c096194600c72c098826
tree40d532e0ed63dc6dc452ce4527bcdd8974a8718e
parent3eaf7311c21f19ee1c25004364802e2b8eec7568
Fix calling watch callbacks after it has been removed

Pending call should be removed if the watch is removed since the
application no longer expect that to be reached and may already freed the
data associated with it.
gdbus/watch.c