summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/hash.h b/internal/hash.h
index 657e5eff3c..0a87dae349 100644
--- a/internal/hash.h
+++ b/internal/hash.h
@@ -202,8 +202,8 @@ RHASH_ST_SIZE(VALUE h)
static inline void
RHASH_ST_CLEAR(VALUE h)
{
+ RHASH(h)->as.st = NULL;
FL_UNSET_RAW(h, RHASH_ST_TABLE_FLAG);
- RHASH(h)->as.ar = NULL;
}
static inline unsigned