Home
last modified time | relevance | path

Searched hist:"8 a57d6d4ddfa41c49014e20493152c41a38fcbf8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/pstore/
H A Dplatform.cdiff 8a57d6d4ddfa41c49014e20493152c41a38fcbf8 Fri Feb 07 03:46:39 CST 2020 chenqiwu <chenqiwu@xiaomi.com> pstore/platform: fix potential mem leak if pstore_init_fs failed

There is a potential mem leak when pstore_init_fs failed,
since the pstore compression maybe unlikey to initialized
successfully. We must clean up the allocation once this
unlikey issue happens.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Link: https://lore.kernel.org/r/1581068800-13817-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>