commit | a291c8fed28951e5a1956d0952a205885dbfa870 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sat Aug 11 14:25:27 2007 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sat Aug 11 14:25:27 2007 +0000 |
tree | e157e96ff9b91b1ceffab9c186f9b952b7b5bf25 | |
parent | d1cd4d41762ba55bfa121875fbcbde19fb6a35f1 [diff] |
Fix reference leak.
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 36fec53..8e8dce2 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c
@@ -1258,6 +1258,7 @@ Py_DECREF(bytes); if (res == NULL) return NULL; + Py_DECREF(res); /* drop write result */ } done: