commit | 3e2e368f3b493399f3eda04a048863713e29d160 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri May 04 01:14:03 2012 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Fri May 04 01:14:03 2012 -0400 |
tree | b0f372eec24baecc934d7f7c5a9391ee8f48e861 | |
parent | 35a8f0dee5252555d0749e3318bb65cb3442828d [diff] [blame] |
avoid unitialized memory
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 7a02b75..100d539 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -3576,7 +3576,7 @@ split_py_long_to_s_and_ns(PyObject *py_long, time_t *s, long *ns) { int result = 0; - PyObject *divmod; + PyObject *divmod = NULL; divmod = PyNumber_Divmod(py_long, billion); if (!divmod) goto exit;