changeset 21542:0c19aa6f8e4e

Fix misplaced http_free
author reimar
date Sat, 09 Dec 2006 19:50:08 +0000
parents 3b4ed8857b38
children d3d45567e335
files stream/http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/http.c	Sat Dec 09 19:34:46 2006 +0000
+++ b/stream/http.c	Sat Dec 09 19:50:08 2006 +0000
@@ -858,8 +858,8 @@
 err_out:
 	if (fd > 0) closesocket( fd );
 	res = -1;
+	http_free( http_hdr );
 out:
-	http_free( http_hdr );
 	return res;
 }