summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-02-21 17:42:27 +0100
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-22 12:42:42 +0200
commitea830d1ba97eef7c29cf368fe891ec94d0d1706e (patch)
tree31a5eb73897730b5023d3063cd1a8e8efefdc406 /unit
parentf863066af1c8b68287ca5b6ad7f91c775c008984 (diff)
downloadconnman-ea830d1ba97eef7c29cf368fe891ec94d0d1706e.tar.gz
connman-ea830d1ba97eef7c29cf368fe891ec94d0d1706e.tar.bz2
connman-ea830d1ba97eef7c29cf368fe891ec94d0d1706e.zip
test-iptables: Fix memory leak
Diffstat (limited to 'unit')
-rw-r--r--unit/test-iptables.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unit/test-iptables.c b/unit/test-iptables.c
index 15fef8d4..52aa9193 100644
--- a/unit/test-iptables.c
+++ b/unit/test-iptables.c
@@ -292,6 +292,8 @@ static void test_nat_basic1(void)
err = __connman_iptables_commit("nat");
g_assert(err == 0);
+
+ g_free(service);
}
int main(int argc, char *argv[])