summaryrefslogtreecommitdiff
path: root/changes/bug24337
blob: 82b430425d5f593c94592815bbc3ff43c2e9b4c4 (plain)
1
2
3
4
5
6
7
8
  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.