Ignore:
Timestamp:
Mar 6, 2018 7:42:54 AM (6 years ago)
Author:
nanang
Message:

Re #2096:

  • Fixed crash in media transport when application calls detach() while the transport only implements detach2().
  • Avoid assertion in UDP media transport when calling detach() without previously calling attach().
File:
1 edited

Legend:

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

    r5747 r5750  
    839839 
    840840        /* As additional checking, check if the same user data is specified */ 
    841         pj_assert(user_data == udp->user_data); 
     841        pj_assert(!udp->user_data || user_data == udp->user_data); 
    842842 
    843843        /* First, mark transport as unattached */ 
Note: See TracChangeset for help on using the changeset viewer.