Skip to content
Commit 2a2b0acf authored by Kees Cook's avatar Kees Cook
Browse files

pstore: Allocate records on heap instead of stack



In preparation for handling records off to pstore_mkfile(), allocate the
record instead of reusing stack. This still always frees the record,
though, since pstore_mkfile() isn't yet keeping it.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 1dfff7dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment