bug24337 412 B

12345678
  1. o Minor features (defensive programming):
  2. - Most of the functions in Tor that free objects have been replaced
  3. with macros that free the objects and set the corresponding pointers
  4. to NULL. This change should help prevent a large class of dangling
  5. pointer bugs. Closes ticket 24337.
  6. - Where possible, the tor_free() macro now only evaluates its input once.
  7. Part of ticket 24337.