Commit f2581c97 authored by Barry Warsaw's avatar Barry Warsaw

_PySys_Init(): Fix another Insure discovered memory leak; the PyString

created from the "big"/"little" constant needs to be decref'd.
parent 239548f3
......@@ -469,7 +469,8 @@ _PySys_Init(void)
else
value = "little";
PyDict_SetItemString(sysdict, "byteorder",
PyString_FromString(value));
v = PyString_FromString(value));
Py_XDECREF(v);
}
#ifdef MS_COREDLL
PyDict_SetItemString(sysdict, "dllhandle",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment