tests: posix: fs: Free dirp resource in case error
Free dirp reosurce by calling closedir() in case of
readdir() error.
CID: 186040
CID: 186043
Fixes Issues #7731 #7728
Signed-off-by:
Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Loading
Please sign in to comment