Added a missing closedir
This commit is contained in:
@ -55,6 +55,8 @@ int count_dir(char* dir_path)
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closedir(fd);
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user