]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix bug in close()
authorGuido van Rossum <guido@python.org>
Mon, 28 Aug 1995 02:58:31 +0000 (02:58 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 28 Aug 1995 02:58:31 +0000 (02:58 +0000)
Modules/dbmmodule.c

index d0736f7ddb049757f4c6875d91230ffd205c1c72..936fb45ab1dd0b9c3bf10fab6ae3c197133a7353 100644 (file)
@@ -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;
 }