Commit e2cd600d authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Merge remote-tracking branch 'public/bug21682_030' into maint-0.3.0

parents ded2c8c6 27058bd8
Loading
Loading
Loading
Loading

changes/bug21682

0 → 100644
+3 −0
Original line number Diff line number Diff line
  o Minor bugfixes (memory leaks):
    - Fix a memory leak when using GETCONF on a port option.
      Fixes bug 21682; bugfix on 0.3.0.3-alpha.
+1 −0
Original line number Diff line number Diff line
@@ -779,6 +779,7 @@ config_get_assigned_option(const config_format_t *fmt, const void *options,
      tor_free(result);
      return NULL;
    case CONFIG_TYPE_LINELIST_S:
      tor_free(result->key);
      tor_free(result);
      result = config_lines_dup_and_filter(*(const config_line_t **)value,
                                           key);