summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/array.c b/array.c
index 1121b0f193..0357e728f0 100644
--- a/array.c
+++ b/array.c
@@ -3143,6 +3143,8 @@ flatten(ary, level, modified)
ary = rb_ary_pop(stack);
}
+ st_free_table(memo);
+
return result;
}