Closed alexsnaps closed 7 years ago
Looks nice. What do you think of declaring proc = NULL
at the top of the function, having
done:
mrb_parser_free(parser_state);
return proc;
and using goto done;
on error?
Feel free to ignore my suggestion if you do not think it improves the code.
This fixes https://hackerone.com/reports/180695.
Sorry, looks like this broke something