Changeset 1386 for pjproject


Ignore:
Timestamp:
Jun 23, 2007 1:10:17 AM (17 years ago)
Author:
bennylp
Message:

Fixed memory and possibly handle leak when UDP transport is restarted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c

    r1382 r1386  
    542542    pj_ioqueue_callback ioqueue_cb; 
    543543 
     544    /* Ignore if already registered */ 
     545    if (tp->key != NULL) 
     546        return PJ_SUCCESS; 
     547     
    544548    /* Register to ioqueue. */ 
    545549    ioqueue = pjsip_endpt_get_ioqueue(tp->base.endpt); 
     
    832836        } 
    833837        tp->sock = PJ_INVALID_SOCKET; 
     838         
    834839    } 
    835840 
Note: See TracChangeset for help on using the changeset viewer.