Changeset 3007


Ignore:
Timestamp:
Nov 10, 2009 10:06:58 AM (10 years ago)
Author:
bennylp
Message:

Misc python module fixes (#955):

  • transport config is not initialized with default values, causing assertion in QoS call
  • memory leak with py_pjsua_simple_parse_uri
Location:
pjproject/trunk/pjsip-apps/src/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/python/_pjsua.c

    r2976 r3007  
    39043904    PyTuple_SetItem(ret, 4, item); 
    39053905 
     3906    pj_pool_release(pool); 
    39063907    return ret; 
    39073908} 
  • pjproject/trunk/pjsip-apps/src/python/_pjsua.h

    r2976 r3007  
    13461346                                                PyObj_pjsua_transport_config *obj) 
    13471347{ 
     1348    pjsua_transport_config_default(cfg); 
    13481349    cfg->public_addr    = PyString_ToPJ(obj->public_addr); 
    13491350    cfg->bound_addr     = PyString_ToPJ(obj->bound_addr); 
Note: See TracChangeset for help on using the changeset viewer.