]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: do not clear individual fields if the struct won't be reused
authorMike Yuan <me@yhndnzj.com>
Tue, 13 May 2025 20:54:10 +0000 (22:54 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 13 May 2025 20:54:10 +0000 (22:54 +0200)
commit2627c8e79e23252dc786acb7b3eb6a54a2b7aef5
tree73886489387b7bc71f4dd3f228dcbec6f7ba53fe
parent5884fafcd7ce0fc54803c1988e7b38912c1b0193
journal: do not clear individual fields if the struct won't be reused

Especially that only some of the fields are cleared currently.
src/journal/journalctl-show.c
src/journal/journald-sync.c