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

initialize STUN attributes to 0 when allocated

darcs-hash:20070129202722-c9803-fa4d54065e2c21b3ddf2f6242b84e1f61f857931.gz
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;
......
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