mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
journald: fix minor memory leak
This commit is contained in:
parent
cac914e643
commit
2ee0591d12
Notes:
Lennart Poettering
2013-10-09 04:29:34 +02:00
Backport: bugfix
@ -278,6 +278,8 @@ int journal_directory_vacuum(
|
|||||||
} else if (errno != ENOENT)
|
} else if (errno != ENOENT)
|
||||||
log_warning("Failed to delete %s/%s: %m", directory, p);
|
log_warning("Failed to delete %s/%s: %m", directory, p);
|
||||||
|
|
||||||
|
free(p);
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user