gdbus: fix accessing freed callback data
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 9 Dec 2010 19:52:54 +0000 (21:52 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Dec 2010 23:07:30 +0000 (00:07 +0100)
commit4abf29afdfd527c3ddd450972cf0bf6d4e823f09
tree429f0088239d8a1ad074831f02f22f4722478b88
parentbf8cdb5ab9def0ee6570886146c400f0e408f3e4
gdbus: fix accessing freed callback data

cb->disc_func or cb->conn_func could remove the callback so this needs
to be checked for before continuing processing.
gdbus/watch.c