projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5260162
)
bugfix for double free error when you stop srvx
author
NurPech
<nurpech@nurpech.de>
Sat, 5 Jan 2013 02:25:45 +0000
(
03:25
+0100)
committer
NurPech
<nurpech@nurpech.de>
Sat, 5 Jan 2013 02:31:13 +0000
(
03:31
+0100)
see: http://bugtrack.pk910.de/view.php?id=68
src/mod-hostserv.c
patch
|
blob
|
history
diff --git
a/src/mod-hostserv.c
b/src/mod-hostserv.c
index 5952215f13f47f332ec58289fb418e6f2a10d007..8e1ee36e3b08cc4c122078d7e541a85721aca1cd 100644
(file)
--- a/
src/mod-hostserv.c
+++ b/
src/mod-hostserv.c
@@
-168,7
+168,7
@@
static void hs_free_all() {
}
for(slfh = tlfh->secondlevel; slfh; slfh = next_slfh) {
next_slfh = slfh->next;
- for(manager =
t
lfh->managers; manager; manager = next_manager) {
+ for(manager =
s
lfh->managers; manager; manager = next_manager) {
next_manager = manager->next;
free(manager);
}