Commit 7321bbf2 authored by Alexander Kanavin's avatar Alexander Kanavin

Fix memleak

parent cad5c829
......@@ -213,8 +213,9 @@ START_TEST (test_saslplugin_request_digest_md5)
free(server_challenge);
gsignond_dictionary_set_string(data, "Service", "megaservice");
gsignond_dictionary_set_string(data, "Hostname", "megahostname");
gsignond_session_data_set_allowed_realms(data,
gsignond_copy_array_to_sequence(allowed_realms));
GSequence *seq = gsignond_copy_array_to_sequence(allowed_realms);
gsignond_session_data_set_allowed_realms(data, seq);
g_sequence_free(seq);
gsignond_session_data_set_username(data, "megauser@example.com");
gsignond_session_data_set_secret(data, "megapassword");
......
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