conf-parser: make use of free_and_replace() at one more place

This commit is contained in:
Lennart Poettering 2018-05-22 13:12:48 +02:00
parent a210692525
commit 5f92e51763
1 changed files with 1 additions and 4 deletions

View File

@ -226,9 +226,6 @@ typedef enum Disabled {
*(xs + i) = invalid; \
} \
\
free(*enums); \
*enums = xs; \
xs = NULL; \
\
free_and_replace(*enums, xs); \
return 0; \
}