summaryrefslogtreecommitdiffstats
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-29 16:58:32 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-05 06:41:35 +0200
commita36b8debe67f3a5515200dada75cf4dbc334c7f5 (patch)
treea350f48d79382d173d1e2246abcb4fd11fd5f633 /src/journal/journalctl.c
parentbacklight: do nothing if max_brightness is 0 (diff)
downloadsystemd-a36b8debe67f3a5515200dada75cf4dbc334c7f5.tar.xz
systemd-a36b8debe67f3a5515200dada75cf4dbc334c7f5.zip
journalctl: free arg_file on exit
Diffstat (limited to '')
-rw-r--r--src/journal/journalctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 019629047b..86453e65c8 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -1937,5 +1937,7 @@ int main(int argc, char *argv[]) {
finish:
pager_close();
+ strv_free(arg_file);
+
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}