mirror of
https://github.com/systemd/systemd.git
synced 2025-02-09 13:57:42 +03:00
journal: fix minor memory leak
This commit is contained in:
parent
6fd4d02098
commit
baabc09191
@ -1276,7 +1276,7 @@ static void check_network(sd_journal *j, int fd) {
|
||||
static bool file_has_type_prefix(const char *prefix, const char *filename) {
|
||||
const char *full, *tilded, *atted;
|
||||
|
||||
full = strappend(prefix, ".journal");
|
||||
full = strappenda(prefix, ".journal");
|
||||
tilded = strappenda(full, "~");
|
||||
atted = strappenda(prefix, "@");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user