summaryrefslogtreecommitdiffstats
path: root/Modules/dbmmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-28 02:58:31 (GMT)
committerGuido van Rossum <guido@python.org>1995-08-28 02:58:31 (GMT)
commite03f277a225022eb6906157f6b2bcfbcd9a3644d (patch)
tree674b0b817c53877f5e0fb6b9e2bb14511f292dba /Modules/dbmmodule.c
parent66017aa1b8af3983b882f196ac39b3abf3603bbb (diff)
downloadcpython-e03f277a225022eb6906157f6b2bcfbcd9a3644d.zip
cpython-e03f277a225022eb6906157f6b2bcfbcd9a3644d.tar.gz
cpython-e03f277a225022eb6906157f6b2bcfbcd9a3644d.tar.bz2
fix bug in close()
Diffstat (limited to 'Modules/dbmmodule.c')
-rw-r--r--Modules/dbmmodule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/dbmmodule.c b/Modules/dbmmodule.c
index d0736f7..936fb45 100644
--- a/Modules/dbmmodule.c
+++ b/Modules/dbmmodule.c
@@ -171,7 +171,6 @@ dbm__close(dp, args)
if ( dp->di_dbm )
dbm_close(dp->di_dbm);
dp->di_dbm = NULL;
- DEL(dp);
INCREF(None);
return None;
}