mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 23:21:38 +01:00
9 lines
412 B
Text
9 lines
412 B
Text
|
o Minor features (defensive programming):
|
||
|
- Most of the functions in Tor that free objects have been replaced
|
||
|
with macros that free the objects and set the corresponding pointers
|
||
|
to NULL. This change should help prevent a large class of dangling
|
||
|
pointer bugs. Closes ticket 24337.
|
||
|
|
||
|
- Where possible, the tor_free() macro now only evaluates its input once.
|
||
|
Part of ticket 24337.
|