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

This reverts commit 79de0b8d67.
This commit is contained in:
Wim Taymans 2009-03-31 18:57:08 +02:00 committed by Wim Taymans
parent 2f90615d14
commit 8be68f983c

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