Commit b0c834df authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

rtspconnection: Properly initialize stack-allocated RTSP message to all-zeroes

parent 5ac65d9e
......@@ -1124,11 +1124,14 @@ gst_rtsp_connection_connect (GstRTSPConnection * conn, GTimeVal * timeout)
GstRTSPResult result;
GstRTSPMessage response;
memset (&response, 0, sizeof (response));
gst_rtsp_message_init (&response);
result = gst_rtsp_connection_connect_with_response (conn, timeout, &response);
gst_rtsp_message_unset (&response);
return result;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment