Commit dbd0a358 authored by Dafydd Harries's avatar Dafydd Harries
Browse files

initialize STUN attributes to 0 when allocated

parent bd4e444b
......@@ -8,7 +8,7 @@ G_GNUC_WARN_UNUSED_RESULT
static StunAttribute *
stun_attribute_new (guint type)
StunAttribute *attr = g_slice_new (StunAttribute);
StunAttribute *attr = g_slice_new0 (StunAttribute);
attr->type = type;
return attr;
Supports Markdown
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