summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2007-10-19 00:34:56 +0000
committererdgeist <>2007-10-19 00:34:56 +0000
commit6eb441d8a049fd65529a372b1935792cc94ca811 (patch)
tree556ba4cc3357f7c00d60ba716d851c292ea15632
parentb86e6382a1d496cdb2acb0b85732c644de3add11 (diff)
Cannot access members after they are freed :/
-rw-r--r--opentracker.c2
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}