diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-10-11 11:21:57 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-10-12 13:11:59 +0300 |
commit | 3f13d897e88d61f2e98ca4b9dff51336e4a4900b (patch) | |
tree | 15afbcd6f53d810f832a23f9ce8976fa2a7e1bf9 | |
parent | 132bb54b219270304d3047eedb5d60b58d94db16 (diff) | |
download | connman-3f13d897e88d61f2e98ca4b9dff51336e4a4900b.tar.gz connman-3f13d897e88d61f2e98ca4b9dff51336e4a4900b.tar.bz2 connman-3f13d897e88d61f2e98ca4b9dff51336e4a4900b.zip |
nat: Memory leak when cleaning up
The nat struct was not freed when it is was removed from the hash.
-rw-r--r-- | src/nat.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 = { |