Merge pull request #10932 from akallabeth/test-fix

[winpr,file] fix memory leak in test
This commit is contained in:
akallabeth
2024-12-09 06:30:14 +01:00
committed by GitHub

View File

@@ -215,7 +215,7 @@ static int TestFileFindFirstFileA(const char* str)
obj->fnObjectNew = winpr_ObjectStringClone;
if (!create_layout(BasePath, files))
return -1;
goto fail;
NativePathCchAppendA(FilePath, PATHCCH_MAX_CCH, testFile1A);