mirror of https://github.com/FreeRDP/FreeRDP
fix memroy leak of fd at FindFirstFileW()
This commit is contained in:
parent
2f96df25fa
commit
64fce8717f
|
@ -938,6 +938,7 @@ HANDLE FindFirstFileW(LPCWSTR lpFileName, LPWIN32_FIND_DATAW lpFindFileData)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(fd);
|
||||||
return h;
|
return h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue