projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c565f0
)
vswitchd: Fix memory leak.
author
Ben Pfaff
<blp@nicira.com>
Tue, 13 Jan 2009 23:29:58 +0000
(15:29 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 13 Jan 2009 23:29:58 +0000
(15:29 -0800)
vswitchd/flowtrack.c
patch
|
blob
|
history
diff --git
a/vswitchd/flowtrack.c
b/vswitchd/flowtrack.c
index 536e84831acf1828f4f99e5e642fcaf8641a9578..cda6e9588e65d754f5c75db062daed52c2186e0c 100644
(file)
--- a/
vswitchd/flowtrack.c
+++ b/
vswitchd/flowtrack.c
@@
-152,6
+152,7
@@
ft_destroy(struct ft *ft)
HMAP_FOR_EACH_SAFE (f, next, struct ft_flow, node, &ft->flows) {
ftf_destroy(f);
}
+ hmap_destroy(&f->flows);
free(ft);
}
}