rtsp-client: do not free string passed to take_header

This commit is contained in:
Mathieu Duponchelle 2018-03-30 23:34:01 +02:00
parent 8bf341ad02
commit c36d6b477c

View file

@ -2852,7 +2852,6 @@ handle_announce_request (GstRTSPClient * client, GstRTSPContext * ctx)
gst_rtsp_message_take_header (ctx->response, GST_RTSP_HDR_KEYMGMT, keymgmt);
g_free (location);
g_free (keymgmt);
}
/* we suspend after the announce */