Kaydet (Commit) 3d05b1a0 authored tarafından Barry Warsaw's avatar Barry Warsaw

initmain(): Nailed a memory leak. bimod must be DECREF'd!

üst 666e6009
......@@ -411,6 +411,7 @@ initmain()
if (bimod == NULL ||
PyDict_SetItemString(d, "__builtins__", bimod) != 0)
Py_FatalError("can't add __builtins__ to __main__");
Py_DECREF(bimod);
}
}
......
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