mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
rtsp: reset whole message (was sizeof pointer instead of sizeof type)
This commit is contained in:
parent
43788e4796
commit
79de0b8d67
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue