Ignore:
Timestamp:
Jun 28, 2007 2:47:32 AM (17 years ago)
Author:
bennylp
Message:

Ticket #349: Crash when sending PUBLISH when network is unreachable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/publishc.c

    r1292 r1398  
    597597                                      &tsx_callback); 
    598598    if (status!=PJ_SUCCESS) { 
    599         --pubc->pending_tsx; 
     599        // no need to decrement, callback has been called and it should 
     600        // already decremented pending_tsx. Decrementing this here may  
     601        // cause accessing freed memory location. 
     602        //--pubc->pending_tsx; 
    600603        PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); 
    601604    } 
     
    604607} 
    605608 
    606  
Note: See TracChangeset for help on using the changeset viewer.