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

fix memory leak when unpacking attribute fails

parent 3826dec8
......@@ -88,8 +88,9 @@ stun_attribute_unpack (guint length, const gchar *s)
if (_stun_attribute_unpack (attr, length, s))
return attr;
return NULL;
stun_attribute_free (attr);
return NULL;
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