]> git.ipfire.org Git - thirdparty/git.git/commit - http-push.c
free(NULL) is perfectly valid.
authorJunio C Hamano <junkio@cox.net>
Mon, 28 Aug 2006 04:19:39 +0000 (21:19 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 28 Aug 2006 04:19:39 +0000 (21:19 -0700)
commit4cac42b1324951579036a9d3ac403f5c2c3eeed8
tree5106e1aff2bd1d90fef4c26550b777dbe1142429
parentb3c952f8386cebe12fc95227866683bb1cec99a9
free(NULL) is perfectly valid.

Jonas noticed some places say "if (X) free(X)" which is totally
unnecessary.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c
builtin-fmt-merge-msg.c
builtin-repo-config.c
builtin-rev-list.c
config.c
fetch.c
http-fetch.c
http-push.c
path-list.c
refs.c