diff options
-rw-r--r-- | opentracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c index 380168e..03a9076 100644 --- a/opentracker.c +++ b/opentracker.c | |||
@@ -647,10 +647,10 @@ static void handle_timeouted( void ) { | |||
647 | while( ( i = io_timeouted() ) != -1 ) { | 647 | while( ( i = io_timeouted() ) != -1 ) { |
648 | struct http_data* h=io_getcookie( i ); | 648 | struct http_data* h=io_getcookie( i ); |
649 | if( h ) { | 649 | if( h ) { |
650 | iob_reset( &h->batch ); | ||
650 | array_reset( &h->request ); | 651 | array_reset( &h->request ); |
651 | free( h ); | 652 | free( h ); |
652 | } | 653 | } |
653 | iob_reset( &h->batch ); | ||
654 | io_close(i); | 654 | io_close(i); |
655 | } | 655 | } |
656 | } | 656 | } |