Skip to content

Commit 6750191

Browse files
authored
fix double-free
1 parent be3bd3d commit 6750191

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/posixmodule.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7325,7 +7325,6 @@ parse_envlist(PyObject* env, Py_ssize_t *envc_ptr)
73257325
}
73267326
val = PyList_GetItemRef(vals, pos);
73277327
if (val == NULL) {
7328-
Py_DECREF(key);
73297328
goto error;
73307329
}
73317330

0 commit comments

Comments
 (0)