Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed expanding runtime variables #241

Merged
merged 2 commits into from
Sep 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replaced spaces by tabs to match coding style
  • Loading branch information
PunishedSnakePr committed Sep 22, 2020
commit 258df125d6e15ea42ff3bac91862f49f4af501b0
2 changes: 1 addition & 1 deletion src/ucl_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ ucl_check_variable_safe (struct ucl_parser *parser, const char *ptr, size_t rema
/* Call generic handler */
if (parser->var_handler (ptr, remain, &dst, &dstlen, &need_free,
parser->var_data)) {
*out_len = dstlen;
*out_len = dstlen;
*found = true;
if (need_free) {
free (dst);
Expand Down