Commit d3639ef1 authored by Jan Včelák's avatar Jan Včelák 🚀

tests/tsig_key: fix memory leak

parent 5f953b6c
......@@ -195,6 +195,8 @@ int main(int argc, char *argv[])
ok(r == KNOT_EOK && key_is_eq(&copy, &key) &&
copy.secret.data != key.secret.data && copy.name != key.name,
"knot_tsig_key_copy: simple copy");
knot_tsig_key_deinit(&copy);
}
return 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