diff options
-rw-r--r-- | ot_http.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | } |