diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 03:42:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-17 03:42:07 +0000 |
commit | 347415b76e07cf0c885d99933ca6762caadc0fa8 (patch) | |
tree | 4e8d835d4d437987bb5763464643eb0e3ad3f57e /db | |
parent | ff407b13b9cd6277d6221d1c180866aedb6839cb (diff) |
(__big_delete): Don't call __free_ovflpage without testing for
last_bfp to be NULL.
Diffstat (limited to 'db')
-rw-r--r-- | db/hash/hash_bigkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/hash/hash_bigkey.c b/db/hash/hash_bigkey.c index d2a7dfd597..d80ebedb07 100644 --- a/db/hash/hash_bigkey.c +++ b/db/hash/hash_bigkey.c @@ -249,7 +249,7 @@ __big_delete(hashp, bufp) bufp->flags |= BUF_MOD; if (rbufp) __free_ovflpage(hashp, rbufp); - if (last_bfp != rbufp) + if (last_bfp && last_bfp != rbufp) __free_ovflpage(hashp, last_bfp); hashp->NKEYS--; |