summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dhcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 36e2ff5b..76c0b75a 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -328,6 +328,7 @@ static void dhcp_remove(struct connman_element *element)
}
connman_dhcp_unref(dhcp);
+ connman_element_unref(element);
}
static void dhcp_change(struct connman_element *element)