From 6eb441d8a049fd65529a372b1935792cc94ca811 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Fri, 19 Oct 2007 00:34:56 +0000 Subject: [PATCH] Cannot access members after they are freed :/ --- opentracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { while( ( i = io_timeouted() ) != -1 ) { struct http_data* h=io_getcookie( i ); if( h ) { + iob_reset( &h->batch ); array_reset( &h->request ); free( h ); } - iob_reset( &h->batch ); io_close(i); } }