Commit ba747c38 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix a RTSP crash

parent a757f6af
......@@ -781,7 +781,7 @@ describe:
/* malloc-ated copy */
if( p_sys->p_sdp ) free( p_sys->p_sdp );
p_sys->p_sdp = strdup( (char*)p_sdp );
if( p_sdp ) p_sys->p_sdp = strdup( (char*)p_sdp );
delete[] p_sdp;
return i_ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment