commit | 4bc9d3956059fd8ba6e41e8550336dc6de60bb02 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Thu Jan 09 22:22:05 1997 +0000 |
committer | Barry Warsaw <barry@python.org> | Thu Jan 09 22:22:05 1997 +0000 |
tree | 49357906a5f371ffd6b570dbcd64babf1a3ebe35 | |
parent | 4b76ba3280634886356782c0ecc66ac08895826a [diff] [blame] |
Nailed a couple of memory leaks, caught by Purify.
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index 69a81ef..4b09312 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c
@@ -109,6 +109,7 @@ Py_DECREF(d); return NULL; } + Py_DECREF(v); } return d; }