Skip to content
Commit 54492c27 authored by Dominik Ermel's avatar Dominik Ermel Committed by Anas Nashif
Browse files

subsys/fs: Fix fs_close on closed file causing NULL dereference



If fs_close gets invoked on closed file (e.g. double close) it would
cause NULL dereference and system crash. Instead now it will just
return with success, as the file is already closed anyway.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent ce426f69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment