From: Leena Gunda <[email protected]>

Fixes BMC#11830

---
 src/iptables.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/iptables.c b/src/iptables.c
index 6860fdd..c799c25 100644
--- a/src/iptables.c
+++ b/src/iptables.c
@@ -902,6 +902,7 @@ static void table_cleanup(struct connman_iptables *table)
                entry = list->data;
 
                g_free(entry->entry);
+               g_free(entry);
        }
 
        g_list_free(table->entries);
@@ -1300,6 +1301,7 @@ int __connman_iptables_commit(const char *table_name)
 
        err = iptables_replace(table, repl);
 
+       g_free(repl->counters);
        g_free(repl);
 
        if (err < 0)
-- 
1.7.2.2
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to