projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
132bb54
)
nat: Memory leak when cleaning up
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Thu, 11 Oct 2012 08:21:57 +0000
(11:21 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 12 Oct 2012 10:11:59 +0000
(13:11 +0300)
The nat struct was not freed when it is was removed from the hash.
src/nat.c
patch
|
blob
|
history
diff --git
a/src/nat.c
b/src/nat.c
index
e17a3f8
..
927d305
100644
(file)
--- 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 = {