CCache: Fix typo in null check
This commit is contained in:
parent
478d5df911
commit
6234ebd486
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ void x_asprintf(char **ptr, const char *format, ...)
|
||||||
}
|
}
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
if (!ptr) fatal("out of memory in x_asprintf");
|
if (!*ptr) fatal("out of memory in x_asprintf");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue