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:
Egor Shestakov 2026-04-08 15:24:56 +00:00 committed by William Lallemand
parent 76f74d7a55
commit c82b10b8d2

View File

@ -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;
}