aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 5da3b709b4..65c7741262 100644
--- a/hash.c
+++ b/hash.c
@@ -298,7 +298,7 @@ hash_tbl(VALUE hash)
struct st_table *
rb_hash_tbl(VALUE hash)
{
- OBJ_WB_GIVEUP(hash);
+ OBJ_WB_UNPROTECT(hash);
return hash_tbl(hash);
}