mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-04 17:47:03 +03:00
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…
x
Reference in New Issue
Block a user