Skip to content

Commit ba533de

Browse files
calebsanderigaw
authored andcommitted
tree: use cleanup functions
Use cleanup attributes from cleanup.h to avoid boilerplate cleanup code. Introduce struct dirents and the corresponding _cleanup_dirents_ to clean up arrays of directory entries. Signed-off-by: Caleb Sander <[email protected]>
1 parent c35a784 commit ba533de

1 file changed

Lines changed: 109 additions & 173 deletions

File tree

0 commit comments

Comments
 (0)