Commit ba533de
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
0 commit comments