Changeset 9826


Ignore:
Timestamp:
Dec 26, 2009, 11:57:25 PM (12 years ago)
Author:
charles
Message:

(trunk libT) #2416 "crash in event_queue_insert" -- maybe this will finally fix it...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/web.c

    r9818 r9826  
    5454    tr_address addr;
    5555    struct event timer_event;
    56     /*tr_list * freeme;*/
     56    tr_list * freeme;
    5757};
    5858
     
    6161{
    6262    curl_multi_cleanup( g->multi );
    63     /*tr_list_free( &g->freeme, tr_free );*/
     63    tr_list_free( &g->freeme, tr_free );
    6464    evtimer_del( &g->timer_event );
    6565    memset( g, TR_MEMORY_TRASH, sizeof( struct tr_web ) );
     
    290290        {
    291291            event_del( io_event );
    292             /*memset( io_event, TR_MEMORY_TRASH, sizeof( struct event ) );
    293               tr_list_append( &web->freeme, io_event );*/
     292            tr_list_append( &web->freeme, io_event );
    294293            curl_multi_assign( web->multi, fd, NULL );
    295294            /*fprintf( stderr, "-1 io_events to %d\n", --num_events );*/
     
    325324{
    326325    tr_web * g = vg;
    327     /*tr_list_free( &g->freeme, tr_free );*/
     326    tr_list_free( &g->freeme, tr_free );
    328327    dbgmsg( "libevent timer is done" );
    329328    tr_multi_perform( g, CURL_SOCKET_TIMEOUT, 0 );
Note: See TracChangeset for help on using the changeset viewer.