about summary refs log tree commit diff
path: root/db/hash/hash_bigkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'db/hash/hash_bigkey.c')
-rw-r--r--db/hash/hash_bigkey.c2
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--;