mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Fix a memory leak in handling GETINFO.
Fixes bug 33103; bugfix on 0.4.3.1-alpha.
This commit is contained in:
parent
2c4d7d8c65
commit
56c54a66bd
3
changes/ticket33103
Normal file
3
changes/ticket33103
Normal file
@ -0,0 +1,3 @@
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user