mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
sdp: fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787059
This commit is contained in:
parent
fdd6479f4b
commit
d690fbd37d
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ mikey_add_crypto_sessions (GstRTSPStream * stream, GstMIKEYMessage * msg)
|
|||
session = gst_rtsp_stream_get_rtpsession (stream);
|
||||
if (session == NULL) {
|
||||
GST_ERROR ("unable to get RTP session from stream %p", stream);
|
||||
gst_object_unref (encoder);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue