summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-09-14 00:35:58 -0700
committerGitHub <noreply@github.com>2017-09-14 00:35:58 -0700
commitdae0276bb6bc7281d59fb0b8f1aab31634ee80dc (patch)
treed36e7b49ee6ef1cdb2a2384be568c8d28a7b0bb0 /Python/pystate.c
parent93c92f7d1dbb6e7e472f1d0444c6968858113de2 (diff)
downloadcpython-git-dae0276bb6bc7281d59fb0b8f1aab31634ee80dc.tar.gz
bpo-30860: Fix a refleak. (#3567)
Resolves bpo-31420. (This was accidentally reverted when in #3565.)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 41adf03662..53c1236145 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -97,8 +97,6 @@ PyInterpreterState_New(void)
interp->builtins_copy = NULL;
interp->tstate_head = NULL;
interp->check_interval = 100;
- interp->warnoptions = NULL;
- interp->xoptions = NULL;
interp->num_threads = 0;
interp->pythread_stacksize = 0;
interp->codec_search_path = NULL;