diff options
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r-- | networking/udhcp/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index cf72de1..842e0f2 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -38,7 +38,7 @@ static int read_str(char *line, void *arg) { char **dest = arg; - free(*dest); + if (*dest) free(*dest); *dest = strdup(line); return 1; |