summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-11-18 17:36:26 (GMT)
committerGuido van Rossum <guido@python.org>1990-11-18 17:36:26 (GMT)
commit330497564798cd231b8bac991c35807b131d9a56 (patch)
tree4af6b60dcd23aa6264e3baa30e3a76a62ddfe260 /Python
parentd6f3bc2aaea467ceba2c390bba48210da55069d4 (diff)
downloadcpython-330497564798cd231b8bac991c35807b131d9a56.zip
cpython-330497564798cd231b8bac991c35807b131d9a56.tar.gz
cpython-330497564798cd231b8bac991c35807b131d9a56.tar.bz2
Add extra DECREF.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/import.c b/Python/import.c
index d6d941f..fd912ba 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -42,6 +42,7 @@ initimport()
fatal("no mem for module table");
if (sysset("modules", v) != 0)
fatal("can't assign sys.modules");
+ DECREF(v);
}
object *