]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: lua: use calloc in place of malloc
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 25 Sep 2015 22:51:16 +0000 (00:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 23:32:06 +0000 (01:32 +0200)
commit3c7a77c0e70f7839fee7f8c6f022cc9c75b13d28
tree7ed9a2a77c593da012d69c217143ffcd35ef4ea0
parent1895428ef43929e8a4505b8bf0e4749b59268427
CLEANUP: lua: use calloc in place of malloc

calloc is safer because it fills the allocated memory zone with zeros.
src/hlua.c