diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-05-04 05:14:03 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-05-04 05:14:03 (GMT) |
commit | 3e2e368f3b493399f3eda04a048863713e29d160 (patch) | |
tree | b0f372eec24baecc934d7f7c5a9391ee8f48e861 /Modules/posixmodule.c | |
parent | 35a8f0dee5252555d0749e3318bb65cb3442828d (diff) | |
download | cpython-3e2e368f3b493399f3eda04a048863713e29d160.zip cpython-3e2e368f3b493399f3eda04a048863713e29d160.tar.gz cpython-3e2e368f3b493399f3eda04a048863713e29d160.tar.bz2 |
avoid unitialized memory
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static int 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; |