diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index d896457e7c117519630b8b0ce2cfffac0e393640..408277ee3cdb9dfad303e958f00f6d9d08528970 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c @@ -823,9 +823,9 @@ static int __init pstore_init(void) ret = pstore_init_fs(); if (ret) - return ret; + free_buf_for_compression(); - return 0; + return ret; } late_initcall(pstore_init);