-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[review v3] core: REE FS: close dirfile on error
- Failure from get_dirh() results in *dirh = NULL - put_dirh() with dirh == NULL is ignored put_dirh() after failing get_dirh() isn't needed, but harmless if done since dirh will be NULL. Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
- Loading branch information
1 parent
a231bc9
commit 8f154bb
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters