reformat else part; ref #2447

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-07-06 21:00:57 +09:00
parent 1300770cec
commit 5c50bcd20a
+2 -1
View File
@@ -905,7 +905,8 @@ mrb_ary_clear(mrb_state *mrb, mrb_value self)
if (ARY_SHARED_P(a)) {
mrb_ary_decref(mrb, a->aux.shared);
ARY_UNSET_SHARED_FLAG(a);
} else {
}
else {
mrb_free(mrb, a->ptr);
}
a->len = 0;