mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Fix potential memory issue.
This commit is contained in:
parent
824a7f120a
commit
d0d7764ac0
@ -166,10 +166,10 @@ static int DRIVER_UnMapMsg32To16(WORD wMsg, DWORD lParam1, DWORD lParam2)
|
||||
LPDRVCONFIGINFO16 dci16 = MapSL(lParam2);
|
||||
HeapFree( GetProcessHeap(), 0, MapSL(dci16->lpszDCISectionName) );
|
||||
HeapFree( GetProcessHeap(), 0, MapSL(dci16->lpszDCIAliasName) );
|
||||
HeapFree( GetProcessHeap(), 0, dci16 );
|
||||
UnMapLS( lParam2 );
|
||||
UnMapLS( dci16->lpszDCISectionName );
|
||||
UnMapLS( dci16->lpszDCIAliasName );
|
||||
HeapFree( GetProcessHeap(), 0, dci16 );
|
||||
}
|
||||
ret = 0;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user