summaryrefslogtreecommitdiff
path: root/ot_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.c')
-rw-r--r--ot_http.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ot_http.c b/ot_http.c
index 567cba3..6493e59 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -69,6 +69,7 @@ static void http_senddata( const int64 sock, struct ot_workstruct *ws ) {
69 tai6464 t; 69 tai6464 t;
70 70
71 if( !( outbuf = malloc( ws->reply_size - written_size ) ) ) { 71 if( !( outbuf = malloc( ws->reply_size - written_size ) ) ) {
72 array_reset( &cookie->request );
72 free(cookie); io_close( sock ); 73 free(cookie); io_close( sock );
73 return; 74 return;
74 } 75 }