From: Julian Phillips Date: Sun, 29 Apr 2007 02:46:42 +0000 (+0100) Subject: http.c: Fix problem with repeated calls of http_init X-Git-Tag: v1.5.1.3~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e9d54bd18bcf5dc9eb68eb1cba9a6a7ba3f71fd6?hp=e9d54bd18bcf5dc9eb68eb1cba9a6a7ba3f71fd6 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 Signed-off-by: Junio C Hamano ---