diff options
-rw-r--r-- | util/romcc/romcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c index baf8014f0a..2fa400af2b 100644 --- a/util/romcc/romcc.c +++ b/util/romcc/romcc.c @@ -14376,6 +14376,8 @@ static void expand_function_call( /* Update the called functions closure variable */ closure_idx = add_closure_type(state, func, closure_type); + free(closure_type); + closure_type = NULL; /* Generate some needed triples */ ret_loc = label(state); |