]> granicus.if.org Git - python/commitdiff
Damn Coverity. I can't even sneak in a leak any more. :-)
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 20 Mar 2006 08:47:12 +0000 (08:47 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 20 Mar 2006 08:47:12 +0000 (08:47 +0000)
Modules/posixmodule.c

index 7142cacba04b6be608d1edee88506d7936037796..8f730c7dc45ee17cb8582eb9d388941ff0a65396 100644 (file)
@@ -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 */