---
src/ipv4.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/ipv4.c b/src/ipv4.c
index da115ed..c864c72 100644
--- a/src/ipv4.c
+++ b/src/ipv4.c
@@ -147,6 +147,8 @@ static void ipv4_remove(struct connman_element *element)
if ((__connman_inet_modify_address(RTM_DELADDR, 0, element->index,
AF_INET, address, peer, prefixlen, broadcast) < 0))
DBG("address removal failed");
+
+ connman_element_unref(element);
}
static struct connman_driver ipv4_driver = {
--
1.7.0.4
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman