]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] call garbage collector when doing soft stop
authorWilly Tarreau <w@1wt.eu>
Sun, 13 May 2007 22:39:29 +0000 (00:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 13 May 2007 22:39:29 +0000 (00:39 +0200)
commit4d2d098ea3b41d88a9559fa52dc2bf84071c5cc3
treeb42f77391d711c060eb565c31a0772fef8c65d8d
parent7dcd46d4715b947e413b5a0cb13acb6c92182f59
[MAJOR] call garbage collector when doing soft stop

When we're interrupted by another instance, it is very likely
that the other one will need some memory. Now we know how to
free what is not used, so let's do it.

Also only free non-null pointers. Previously, pool_destroy()
did implicitly check for this case which was incidentely
needed.
include/common/memory.h
src/haproxy.c
src/memory.c
src/proxy.c