conf-parser: make use of free_and_replace() at one more place
This commit is contained in:
parent
a210692525
commit
5f92e51763
|
@ -226,9 +226,6 @@ typedef enum Disabled {
|
|||
*(xs + i) = invalid; \
|
||||
} \
|
||||
\
|
||||
free(*enums); \
|
||||
*enums = xs; \
|
||||
xs = NULL; \
|
||||
\
|
||||
free_and_replace(*enums, xs); \
|
||||
return 0; \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue