[PATCH 5.1 370/371] pstore: Fix double-free in pstore_mkfile() failure path