Commit daf27862 authored by Guillaume Beraudo's avatar Guillaume Beraudo

Initialize ortp zrtp context with zeros.

parent dce7e163
......@@ -760,7 +760,7 @@ static ortp_socket_t ozrtp_rtcp_getsocket(RtpTransport *t){
}
static OrtpZrtpContext* createUserData(ZrtpContext *context) {
OrtpZrtpContext *userData=ortp_new(OrtpZrtpContext,1);
OrtpZrtpContext *userData=ortp_new0(OrtpZrtpContext,1);
userData->zrtpContext=context;
userData->timerWillTriggerAt=0;
userData->last_recv_zrtp_seq_number=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment