Commit 79de0b8d authored by Stefan Kost's avatar Stefan Kost
Browse files

rtsp: reset whole message (was sizeof pointer instead of sizeof type)

parent 43788e47
......@@ -463,7 +463,7 @@ gst_rtsp_message_unset (GstRTSPMessage * msg)
}
g_free (msg->body);
memset (msg, 0, sizeof *msg);
memset (msg, 0, sizeof msg);
return GST_RTSP_OK;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment