]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] fixed useless memory allocation in str2net()
authorWilly Tarreau <w@1wt.eu>
Tue, 8 May 2007 16:28:09 +0000 (18:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2007 21:23:38 +0000 (23:23 +0200)
commitd077a8e67c3e28a72e70c70427dc9944f6ec3b9f
tree97b399bf0a009f9f19414fc4efed182e07629bcd
parent58ef70227a0c5591710d51af76b4c6cad77ee2e4
[MINOR] fixed useless memory allocation in str2net()

It was not necessary anymore to allocate memory in str2net().
Moreover, some calls to free() were missing in case of errors.
include/common/standard.h
src/standard.c