Commit 6e61a75a authored by Guido van Rossum's avatar Guido van Rossum

fix bug in close()

parent 2b882323
...@@ -171,7 +171,6 @@ dbm__close(dp, args) ...@@ -171,7 +171,6 @@ dbm__close(dp, args)
if ( dp->di_dbm ) if ( dp->di_dbm )
dbm_close(dp->di_dbm); dbm_close(dp->di_dbm);
dp->di_dbm = NULL; dp->di_dbm = NULL;
DEL(dp);
INCREF(None); INCREF(None);
return None; return None;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment