mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib:replace: Fix resource leak in os2_delete test
Found by covscan Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
17294c6bb7
commit
2e973ea5f1
@ -106,6 +106,7 @@ int test_readdir_os2_delete(void)
|
||||
d = opendir(TESTDIR "/test0.txt");
|
||||
if (d != NULL) FAILED("opendir() on file succeed");
|
||||
if (errno != ENOTDIR) FAILED("opendir() on file didn't give ENOTDIR");
|
||||
closedir(d);
|
||||
|
||||
d = opendir(TESTDIR);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user