diff options
Diffstat (limited to 'opentracker.c')
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index b1fa87a..bcc0703 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -159,7 +159,7 @@ static void handle_dead( const int64 sock ) { | |||
159 | iob_reset( cookie->batch + i ); | 159 | iob_reset( cookie->batch + i ); |
160 | free( cookie->batch ); | 160 | free( cookie->batch ); |
161 | array_reset( &cookie->request ); | 161 | array_reset( &cookie->request ); |
162 | if( cookie->flag & STRUCT_HTTP_FLAG_WAITINGFORTASK ) | 162 | if( cookie->flag & (STRUCT_HTTP_FLAG_WAITINGFORTASK | STRUCT_HTTP_FLAG_CHUNKED_IN_TRANSFER) ) |
163 | mutex_workqueue_canceltask( sock ); | 163 | mutex_workqueue_canceltask( sock ); |
164 | free( cookie ); | 164 | free( cookie ); |
165 | } | 165 | } |