tools: env: Fix missing closedir in ubi_get_volnum_by_name
The function calls opendir() but missing the corresponding
closedir() before exit the function.
Add missing closedir() to fix it.
Signed-off-by:
Miaoqian Lin <linmq006@gmail.com>
Loading
Please register or sign in to comment