Commit d3703ded authored by Dafydd Harries's avatar Dafydd Harries

fix memory leak in test

darcs-hash:20070131223726-c9803-a00e761d2c39f602e43fcd86ad3b3b089de867f5.gz
parent 36ad7fdc
......@@ -130,6 +130,7 @@ test_stun_valid_password (
((NiceCandidate *) agent->local_candidates->data)->username,
NULL);
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