summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 482b084e38..f09637fb04 100644
--- a/variable.c
+++ b/variable.c
@@ -2030,7 +2030,7 @@ static void
autoload_i_compact(void *ptr)
{
struct autoload_data_i *p = ptr;
- p->feature = rb_gc_new_location(p->feature);
+ p->feature = rb_gc_location(p->feature);
}
static void