summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-20 08:47:12 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-20 08:47:12 (GMT)
commit9b00a56464484858bb4050711348ccb8fdb1764f (patch)
treeee20eb1214fb3e6f939bd8700645916dd9c951d8 /Modules/posixmodule.c
parent711e7f00ca96e3999458d0fa859f2ff763fdbc0e (diff)
downloadcpython-9b00a56464484858bb4050711348ccb8fdb1764f.zip
cpython-9b00a56464484858bb4050711348ccb8fdb1764f.tar.gz
cpython-9b00a56464484858bb4050711348ccb8fdb1764f.tar.bz2
Damn Coverity. I can't even sneak in a leak any more. :-)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 7142cac..8f730c7 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -5153,7 +5153,7 @@ wait_helper(int pid, int status, struct rusage *ru)
return NULL;
}
- return Py_BuildValue("iiO", pid, status, result);
+ return Py_BuildValue("iiN", pid, status, result);
}
#endif /* HAVE_WAIT3 || HAVE_WAIT4 */