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
Loading
Loading
Loading
Loading

changes/ticket33103

0 → 100644
+3 −0
Original line number Diff line number Diff line
  o Minor bugfixes (controller):
    - Fix a memory leak in GETINFO responses. Fixes bug 33103;
      bugfix on 0.4.3.1-alpha.
+1 −0
Original line number Diff line number Diff line
@@ -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);