]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-journal: fix memleak and freeing invalid pointers 26560/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Feb 2023 02:39:42 +0000 (11:39 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Feb 2023 06:09:59 +0000 (15:09 +0900)
commit5648ebaf403dd2614a7cc72e892f4d29eaca46ef
treedce9d4d771e82db9d8cd842ebed7c87916af5f89
parentde5cc016b595d0c3ad18fb3e5fdf011b3ed3363c
sd-journal: fix memleak and freeing invalid pointers

This also makes
- use GREEDY_REALLOC() or GREEDY_REALLOC0(),
- use CLEANUP_ARRAY() macro.
src/libsystemd/sd-journal/journal-send.c