summaryrefslogtreecommitdiff
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-31 16:57:08 (GMT)
committer Wim Taymans <wim@metal.(none)>2009-03-31 16:57:08 (GMT)
commit8be68f983cd10ba1b3a232d214575ef047fb9778 (patch) (side-by-side diff)
tree839ec4ad004edf501c9f4e377266f04f4f68a8d5
parent2f90615d14574c62453f55a854f4599bce1391a3 (diff)
downloadgst-plugins-base-8be68f983cd10ba1b3a232d214575ef047fb9778.zip
gst-plugins-base-8be68f983cd10ba1b3a232d214575ef047fb9778.tar.gz
Revert "rtsp: reset whole message (was sizeof pointer instead of sizeof type)"
This reverts commit 79de0b8d67df6fbbe79455adc2e06858295f5c03.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst-libs/gst/rtsp/gstrtspmessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/rtsp/gstrtspmessage.c b/gst-libs/gst/rtsp/gstrtspmessage.c
index 42482c4..a345f08 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 *msg);
return GST_RTSP_OK;
}