]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] remove 65 useless NULL checks before free
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Aug 2008 10:19:50 +0000 (12:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Aug 2008 18:48:50 +0000 (20:48 +0200)
commita534fea4789599a6af5a1e8c9b743ded40ce6fe2
tree9ac8d7b5b69f0c819f83ad69fecd9f102438e279
parentaf72a1d8ecb702aa2de6b5ed64494aa207ffa4ad
[CLEANUP] remove 65 useless NULL checks before free

C specification clearly states that free(NULL) is a no-op.
So remove useless checks before calling free.
src/backend.c
src/cfgparse.c
src/ev_epoll.c
src/ev_kqueue.c
src/ev_poll.c
src/ev_select.c
src/ev_sepoll.c
src/haproxy.c
src/uri_auth.c