From 2611e80812a467361d9102ef42705a3d5410c8a9 Mon Sep 17 00:00:00 2001 From: Pekka Pessi Date: Mon, 30 Aug 2010 18:21:09 +0300 Subject: [PATCH] Revert "service: don't keep ref to a removed network" This reverts commit 485625099ef90e11099157dd72fbbebe04a74680. --- src/service.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/service.c b/src/service.c index a6ca3dd..6bc43d2 100644 --- a/src/service.c +++ b/src/service.c @@ -3651,12 +3651,6 @@ void __connman_service_remove_from_network(struct connman_network *network) if (service == NULL) return; - if (service->network == NULL) - return; - - connman_network_unref(service->network); - service->network = NULL; - __connman_service_put(service); } -- 2.7.4