summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/variable.c b/variable.c
index 7b4beb9f9a..5c92fe5093 100644
--- a/variable.c
+++ b/variable.c
@@ -1459,9 +1459,7 @@ rb_obj_convert_to_too_complex(VALUE obj, st_table *table)
RB_VM_LOCK_LEAVE();
}
- if (old_ivptr) {
- xfree(old_ivptr);
- }
+ xfree(old_ivptr);
}
void