diff options
-rw-r--r-- | gst-libs/gst/rtsp/gstrtspconnection.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/rtsp/gstrtspmessage.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index c9bcea076..4ae4a80e2 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -239,7 +239,7 @@ static void build_reset (GstRTSPBuilder * builder) { g_free (builder->body_data); - memset (builder, 0, sizeof (builder)); + memset (builder, 0, sizeof (GstRTSPBuilder)); } /** diff --git a/gst-libs/gst/rtsp/gstrtspmessage.c b/gst-libs/gst/rtsp/gstrtspmessage.c index b4d2e96f0..a6aa92113 100644 --- a/gst-libs/gst/rtsp/gstrtspmessage.c +++ b/gst-libs/gst/rtsp/gstrtspmessage.c @@ -463,7 +463,7 @@ gst_rtsp_message_unset (GstRTSPMessage * msg) } g_free (msg->body); - memset (msg, 0, sizeof *msg); + memset (msg, 0, sizeof (GstRTSPMessage)); return GST_RTSP_OK; } |