sdpdemux: Don't leak adapter data

CID #1212158
This commit is contained in:
Edward Hervey 2014-05-13 11:35:46 +02:00
parent 2495f700bd
commit bc918d1466

View file

@ -1397,6 +1397,7 @@ gst_sdp_demux_start (GstSDPDemux * demux)
}
GST_SDP_STREAM_UNLOCK (demux);
gst_sdp_message_uninit (&sdp);
g_free (data);
return TRUE;
@ -1405,6 +1406,7 @@ done:
{
GST_SDP_STREAM_UNLOCK (demux);
gst_sdp_message_uninit (&sdp);
g_free (data);
return FALSE;
}
transport_failed: