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

fix memory leak in test

parent 36ad7fdc
......@@ -130,6 +130,7 @@ test_stun_valid_password (
((NiceCandidate *) agent->local_candidates->data)->username,
breq->attributes[0] = stun_attribute_username_new (username);
g_free (username);
memcpy (breq->transaction_id, "0123456789abcdef", 16);
packed_len = stun_message_pack (breq, &packed);
g_assert (packed_len != 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