mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-04-18 20:22:48 +02:00
MINOR: tools: memvprintf(): remove <out> check that always true
memvprintf() exits early if the <out> is NULL, so the further NULL check is redundant. No backport needed.
This commit is contained in:
parent
76f74d7a55
commit
c82b10b8d2
@ -4678,10 +4678,8 @@ char *memvprintf(char **out, const char *format, va_list orig_args)
|
||||
ha_free(&ret);
|
||||
}
|
||||
|
||||
if (out) {
|
||||
free(*out);
|
||||
*out = ret;
|
||||
}
|
||||
free(*out);
|
||||
*out = ret;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user