Auto-commit xalloc.hpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-15 16:37:10 -05:00
parent 0577d74c9c
commit 93b75fdfd8

View file

@ -15,6 +15,15 @@ xstrdup_impl(const char *s_,
{
char *p;
if(p == NULL)
{
fprintf(stderr,
"mergerfs: strdup failed - file: %s; line: %u\n",
file_,
line_);
exit(EXIT_FAILURE);
}
p = strdup(s_);
if(p == NULL)
{