yaffs-vfs-multi.c: Handle search context properly to prevent leaking master
authorCharles Manning <cdhmanning@gmail.com>
Thu, 25 Jun 2020 04:01:27 +0000 (16:01 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Thu, 25 Jun 2020 04:01:27 +0000 (16:01 +1200)
commit9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f
tree3fbcd26118cbc1a8133ffa1c8d862f7651c88e0f
parent0ca67da389c41a10ba51b85905a2437669c0471d
yaffs-vfs-multi.c: Handle search context properly to prevent leaking

Fix potential memory leak due to search context not being closed properly.

Thank you to George Pee for reporting this issue.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_vfs_multi.c