Fixed memory leak.

This commit is contained in:
Armin Novak 2014-11-16 22:45:09 +01:00
parent e256e14cc4
commit be3df80c9c

View File

@ -471,6 +471,7 @@ BOOL GetCommState(HANDLE hFile, LPDCB lpDCB)
memcpy(lpDCB, lpLocalDcb, lpDCB->DCBlength); memcpy(lpDCB, lpLocalDcb, lpDCB->DCBlength);
free(lpLocalDcb);
return TRUE; return TRUE;