fix memleak in ast_local_codegen

This commit is contained in:
Wolfgang Bumiller 2013-04-15 20:56:48 +02:00
parent 1caf1b3ebe
commit d5e90a17f9

1
ast.c
View file

@ -1431,6 +1431,7 @@ bool ast_local_codegen(ast_value *self, ir_function *func, bool param)
self->ir_values[ai]->unique_life = true;
self->ir_values[ai]->locked = true;
}
mem_d(name);
}
else
{