Use STRDUP for error checking in more places
Use STRDUP() over strdup() to catch memory allocation errors.
There are still some instances of strdup left, but these are in functions
that currently have no error path and would require a larger rework.
Signed-off-by:
Allan McRae <allan@archlinux.org>
Please register or sign in to comment