pstore: fix use after free
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 6 Sep 2019 13:04:01 +0000 (15:04 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 6 Sep 2019 17:23:14 +0000 (02:23 +0900)
commit1e19f5ac0d680a63eccae7ef1fc6ce225dca0bbf
tree46cef21b453bdc946158be036f17057b7d5e5482
parent338009e0db675aec98fdd88f42e6f2279a1b518e
pstore: fix use after free

The memory is still needed in the sd_journal_sendv() after the 'if' block.
src/pstore/pstore.c