Ignore:
Timestamp:
Oct 30, 2019 5:20:06 AM (5 years ago)
Author:
ming
Message:

Fixed #2248: Memory leak if stream fails to be created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r6043 r6098  
    28502850 
    28512851    /* Send RTCP BYE (also SDES & XR) */ 
    2852     if (!stream->rtcp_sdes_bye_disabled) { 
     2852    if (stream->transport && !stream->rtcp_sdes_bye_disabled) { 
    28532853        send_rtcp(stream, PJ_TRUE, PJ_TRUE, PJ_TRUE, PJ_FALSE); 
    28542854    } 
Note: See TracChangeset for help on using the changeset viewer.