gdhcp: Check listerner_watch before remove it
authorYu A Wang <arron.wang@intel.com>
Thu, 8 Dec 2011 07:31:05 +0000 (02:31 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 16 Dec 2011 18:48:17 +0000 (19:48 +0100)
commit83a6923af0156de7575fac4bfb0ad2ee5023b361
tree8f1e6be9715dcb0729fb38967e79de6014518bd4
parent82e0927004c06a108ad31b72a41e674a2462fede
gdhcp: Check listerner_watch before remove it

Fixed following error:
connmand[4547]: src/dhcp.c:dhcp_release() dhcp 0x8c6d3e8
connmand[4547]: DHCP: switch listening mode (3 ==> 0)

(connmand:4547): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed
gdhcp/client.c