ソースを参照

freeing is not the same as setting to null

svn:r6219
Roger Dingledine 19 年 前
コミット
ad236d4b8b
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/or/config.c

+ 1 - 0
src/or/config.c

@@ -4036,6 +4036,7 @@ or_state_validate(or_state_t *old_state, or_state_t *state, int from_setconf)
                    "Enabling workaround to choose working entry guards.",
                    state->TorVersion);
         config_free_lines(state->EntryGuards);
+        state->EntryGuards = NULL;
       }
     }
   }