Changeset 8703


Ignore:
Timestamp:
Jun 15, 2009, 8:29:26 PM (13 years ago)
Author:
charles
Message:

(trunk gtk) fix another crash in Properties > Options, reported by elgeneralmidi w/a valgrind log

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-core.c

    r8671 r8703  
    13541354
    13551355    data = g_hash_table_lookup( pendingRequests, &tag );
    1356     if( data )
     1356    if( data && data->responseFunc )
    13571357        (*data->responseFunc)(data->core, &top, data->responseFuncUserData );
    13581358
     
    14701470tr_core_exec_json( TrCore * core, const char * json )
    14711471{
    1472     sendRequest( core, json, 0, NULL, NULL );
     1472    const int tag = nextTag++;
     1473    sendRequest( core, json, tag, NULL, NULL );
    14731474}
    14741475
Note: See TracChangeset for help on using the changeset viewer.