rtsp: reset whole message (was sizeof pointer instead of sizeof type)

This commit is contained in:
Stefan Kost 2009-03-31 12:22:14 +03:00
parent 43788e4796
commit 79de0b8d67

View file

@ -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;
}