diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-29 11:58:32 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-04-05 00:41:35 -0400 |
commit | a36b8debe67f3a5515200dada75cf4dbc334c7f5 (patch) | |
tree | a350f48d79382d173d1e2246abcb4fd11fd5f633 /src/journal/journalctl.c | |
parent | 3cadce7d33e263ec7a6a83c00c11144930258b22 (diff) |
journalctl: free arg_file on exit
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r-- | src/journal/journalctl.c | 2 |
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; } |