diff options
author | Julian Phillips <julian@quantumfyre.co.uk> | 2007-04-29 04:46:42 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-29 10:34:59 +0200 |
commit | e9d54bd18bcf5dc9eb68eb1cba9a6a7ba3f71fd6 (patch) | |
tree | 4cd857842e31d6cdde33fe03ae6c34e3e92b70be /sha1_file.c | |
parent | Add missing reference to GIT_COMMITTER_DATE in git-commit-tree documentation (diff) | |
download | git-e9d54bd18bcf5dc9eb68eb1cba9a6a7ba3f71fd6.tar.xz git-e9d54bd18bcf5dc9eb68eb1cba9a6a7ba3f71fd6.zip |
http.c: Fix problem with repeated calls of http_init
Calling http_init after calling http_cleanup causes a segfault. This
is due to the pragma_header curl_slist being freed but not being set
to NULL. The subsequent call to http_init tries to setup the slist
again, but it now points to an invalid memory location.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions