mirror of
https://github.com/systemd/systemd.git
synced 2024-10-26 08:55:40 +03:00
set variable to be freed
This commit is contained in:
parent
c8f16cc97c
commit
b24401e77c
@ -428,10 +428,11 @@ int config_parse_refuse_record_types(
|
||||
void *userdata) {
|
||||
|
||||
Manager *m = ASSERT_PTR(userdata);
|
||||
|
||||
int r;
|
||||
Set *refused_records = NULL;
|
||||
|
||||
refused_records = set_free(refused_records);
|
||||
|
||||
for (const char *p = rvalue;;) {
|
||||
_cleanup_free_ char *word = NULL;
|
||||
r = extract_first_word(&p, &word, ",", EXTRACT_UNQUOTE);
|
||||
|
Loading…
Reference in New Issue
Block a user