mirror of https://github.com/mpv-player/mpv
missing free() if bails out at step 12
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18881 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4e56b4f512
commit
b59ec31daa
|
@ -676,6 +676,7 @@ rtp_setup_and_play (rtsp_t *rtsp_session)
|
|||
statut = rtsp_request_play (rtsp_session, NULL);
|
||||
if (statut < 200 || statut > 299)
|
||||
{
|
||||
free (destination);
|
||||
rtp_session_free (rtp_session);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue