mirror of
git://erdgeist.org/opentracker
synced 2025-03-13 06:01:07 +00:00
Cannot access members after they are freed :/
This commit is contained in:
parent
b86e6382a1
commit
6eb441d8a0
@ -647,10 +647,10 @@ static void handle_timeouted( void ) {
|
|||||||
while( ( i = io_timeouted() ) != -1 ) {
|
while( ( i = io_timeouted() ) != -1 ) {
|
||||||
struct http_data* h=io_getcookie( i );
|
struct http_data* h=io_getcookie( i );
|
||||||
if( h ) {
|
if( h ) {
|
||||||
|
iob_reset( &h->batch );
|
||||||
array_reset( &h->request );
|
array_reset( &h->request );
|
||||||
free( h );
|
free( h );
|
||||||
}
|
}
|
||||||
iob_reset( &h->batch );
|
|
||||||
io_close(i);
|
io_close(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user