summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-03-31 12:22:14 +0300
committerStefan Kost <ensonic@users.sf.net>2009-03-31 12:27:09 +0300
commit79de0b8d67df6fbbe79455adc2e06858295f5c03 (patch)
tree8ef98cd9044e269d7eacd2454f5d8bdff8a04af3
parent43788e479654000e2ea9b1c9f1a9d0b6caf555d8 (diff)
rtsp: reset whole message (was sizeof pointer instead of sizeof type)
-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 a345f0879..42482c44d 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)
463 } 463 }
464 g_free (msg->body); 464 g_free (msg->body);
465 465
466 memset (msg, 0, sizeof *msg); 466 memset (msg, 0, sizeof msg);
467 467
468 return GST_RTSP_OK; 468 return GST_RTSP_OK;
469} 469}