1
1
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:
Lennart Poettering 2018-05-22 13:12:48 +02:00
parent a210692525
commit 5f92e51763

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; \
}