]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: fix potential memory leak 31330/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 14 Feb 2024 00:21:13 +0000 (09:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Feb 2024 00:50:18 +0000 (09:50 +0900)
commita9c2e0f426a659a2074de6e5288ba810868ce5df
treecc7e941c5e9d8788e44930d8dd366a562510ac2d
parentda96afcd6c7e3f5aec370ae35e532b913ac5ea41
sd-journal: fix potential memory leak

Though, hopefully, the memory leak is hypothetical, as we always close
journal file with the timer by journal_file_offline_close().
src/libsystemd/sd-journal/journal-file.c
src/shared/journal-file-util.c