[MINOR] improve memory freeing upon exit
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Jun 2007 22:36:03 +0000 (00:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Jun 2007 22:36:03 +0000 (00:36 +0200)
commit0fc45a7e834e3daaf94492692138ed1c0c5c9001
tree98898fbfe1e1833add2081efc2c6d422fef6fb52
parentdae4aa8c4a9c57fe8566fb897677cbf997fec2a6
[MINOR] improve memory freeing upon exit

The deinit() function is specialized in memory area freeing.
There were a ton of information that were not released at the
exit time, which made valgrind complain. Now, most of the entries
are freed. However, it seems like regfree() does not completely
free a regex (12 bytes lost per regex).
src/haproxy.c