forked from github/server
safety net
This commit is contained in:
parent
ce6fbde53e
commit
3b32b490d7
1 changed files with 3 additions and 0 deletions
|
@ -390,6 +390,9 @@ translate(const char* format, const void * userdata, const char* vars, variant a
|
||||||
rv = parse_string(&stack, format, userdata);
|
rv = parse_string(&stack, format, userdata);
|
||||||
}
|
}
|
||||||
if (rv!=NULL) {
|
if (rv!=NULL) {
|
||||||
|
if (rv[0]) {
|
||||||
|
log_error(("residual data after parsing: %s\n", rv));
|
||||||
|
}
|
||||||
rv = (const char*)opop(&stack).v;
|
rv = (const char*)opop(&stack).v;
|
||||||
free(stack->begin);
|
free(stack->begin);
|
||||||
free(stack);
|
free(stack);
|
||||||
|
|
Loading…
Reference in a new issue