The nat struct was not freed when it is was removed from the hash. --- src/nat.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/nat.c b/src/nat.c index e17a3f8..927d305 100644 --- a/src/nat.c +++ b/src/nat.c @@ -196,6 +196,7 @@ static void cleanup_nat(gpointer data) g_free(nat->address); g_free(nat->interface); + g_free(nat); } static struct connman_notifier nat_notifier = { -- 1.7.11.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman