summaryrefslogtreecommitdiff
authorStefan Kost <ensonic@users.sf.net>2009-03-31 09:22:14 (GMT)
committer Stefan Kost <ensonic@users.sf.net>2009-03-31 09:27:09 (GMT)
commit79de0b8d67df6fbbe79455adc2e06858295f5c03 (patch) (side-by-side diff)
tree8ef98cd9044e269d7eacd2454f5d8bdff8a04af3
parent43788e479654000e2ea9b1c9f1a9d0b6caf555d8 (diff)
downloadgst-plugins-base-79de0b8d67df6fbbe79455adc2e06858295f5c03.zip
gst-plugins-base-79de0b8d67df6fbbe79455adc2e06858295f5c03.tar.gz
rtsp: reset whole message (was sizeof pointer instead of sizeof type)
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 a345f08..42482c4 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;
}