projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfa1b1
)
ipvs plugin: Fixed a memory leak in cipvs_submit_services().
author
Sebastian Harl
<sh@tokkee.org>
Wed, 10 Oct 2007 18:37:26 +0000
(20:37 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Fri, 12 Oct 2007 16:42:30 +0000
(18:42 +0200)
The ip_vs_get_dests pointer has not been freed... :-/
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/ipvs.c
patch
|
blob
|
history
diff --git
a/src/ipvs.c
b/src/ipvs.c
index
f2f40b4
..
c670b09
100644
(file)
--- a/
src/ipvs.c
+++ b/
src/ipvs.c
@@
-309,6
+309,8
@@
static void cipvs_submit_service (struct ip_vs_service_entry *se)
for (i = 0; i < dests->num_dests; ++i)
cipvs_submit_dest (pi, &dests->entrytable[i]);
+
+ free (dests);
return;
} /* cipvs_submit_service */