diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-09 04:03:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-09 04:08:00 +0200 |
commit | 2ee0591d12b9e725c4585502285fd91cde682d9b (patch) | |
tree | 56a17d06c98cde33c7c84d8161746c28f634deb2 /src/journal | |
parent | cac914e643a50c72893c5478f6886e0978f8fa18 (diff) |
journald: fix minor memory leak
Diffstat (limited to 'src/journal')
-rw-r--r-- | src/journal/journal-vacuum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journal-vacuum.c b/src/journal/journal-vacuum.c index c73ad8f393..8d5effb45c 100644 --- a/src/journal/journal-vacuum.c +++ b/src/journal/journal-vacuum.c @@ -278,6 +278,8 @@ int journal_directory_vacuum( } else if (errno != ENOENT) log_warning("Failed to delete %s/%s: %m", directory, p); + free(p); + continue; } |