chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cac914e
)
journald: fix minor memory leak
author
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Oct 2013 02:03:45 +0000
(
04:03
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 9 Oct 2013 02:08:00 +0000
(
04:08
+0200)
src/journal/journal-vacuum.c
patch
|
blob
|
history
diff --git
a/src/journal/journal-vacuum.c
b/src/journal/journal-vacuum.c
index c73ad8f3938f8ce015322b85b8b589c126ff03f8..8d5effb45ce63d83046f9917632752b8351f42b9 100644
(file)
--- 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;
}