summaryrefslogtreecommitdiffstats
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 1af11c4..3de94e8 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -2635,6 +2635,7 @@ _PySys_InitMain(PyInterpreterState *interp)
return -1;
}
SET_SYS_FROM_STRING_BORROW("_xoptions", xoptions);
+ Py_DECREF(xoptions);
#undef COPY_LIST
#undef SET_SYS_FROM_WSTR