Commit 56c54a66 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Fix a memory leak in handling GETINFO.

Fixes bug 33103; bugfix on 0.4.3.1-alpha.
parent 2c4d7d8c
o Minor bugfixes (controller):
- Fix a memory leak in GETINFO responses. Fixes bug 33103;
bugfix on 0.4.3.1-alpha.
......@@ -1735,6 +1735,7 @@ handle_control_getinfo(control_connection_t *conn,
}
} else {
control_reply_add_one_kv(answers, 250, KV_RAW, q, ans);
tor_free(ans);
}
} SMARTLIST_FOREACH_END(q);
......
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