• William King's avatar
    CID: 1214221,1214222 · 388e119e
    William King 提交于
    sip_header_as_string returns new memory alloc'd on the nua_handle's memory pool. This memory would not be freed until
    the handle was destroyed. Since there is no usage of the call-info header after it is added to the event as a header value,
    we should make sure to both su_free the sofia returned string, but also more cleanly create the event header value to reduce a strdup.
    388e119e
sofia.c 364.2 KB