Remove wrong unref of sevice->pending
authorMartin Xu <martin.xu@intel.com>
Tue, 9 Feb 2010 09:29:52 +0000 (10:29 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Feb 2010 04:29:51 +0000 (05:29 +0100)
commitef65e9417606781bf4c33e63e9f16cca68b81737
tree1f7347b305c1247d1d7c1db7a8e9f9273d61d31c
parentb27abe33c7fe43ecbbc3cb5dfaa128bedb45f472
Remove wrong unref of sevice->pending

When setting static ip for ethernet service, unreferencing service->pending
here will cause a segmentation fault.

The reason is that it is done in __connman_service_indicate_state() when
connection succeeds, and service->pending is NULL.
src/service.c