Change to a Py_XDECREF and fix some whitespace.

Found using Clang's static analyzer.
This commit is contained in:
Brett Cannon 2010-05-05 20:38:52 +00:00
parent 1771ecf879
commit c33e82d23c

View file

@ -701,7 +701,7 @@ initmain(void)
if (bimod == NULL || if (bimod == NULL ||
PyDict_SetItemString(d, "__builtins__", bimod) != 0) PyDict_SetItemString(d, "__builtins__", bimod) != 0)
Py_FatalError("can't add __builtins__ to __main__"); Py_FatalError("can't add __builtins__ to __main__");
Py_DECREF(bimod); Py_XDECREF(bimod);
} }
} }