mirror of
https://github.com/systemd/systemd.git
synced 2025-02-06 01:57:47 +03:00
Merge pull request #4578 from evverx/no-hostname-memleak
journalctl: fix memleak
This commit is contained in:
commit
9bda42660d
@ -418,7 +418,7 @@ static int output_short(
|
||||
|
||||
if (flags & OUTPUT_NO_HOSTNAME) {
|
||||
/* Suppress display of the hostname if this is requested. */
|
||||
hostname = NULL;
|
||||
hostname = mfree(hostname);
|
||||
hostname_len = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user