Use correct pointer to an internal driver description.

This commit is contained in:
Dmitry Timoshkov 2004-01-01 00:07:14 +00:00 committed by Alexandre Julliard
parent 123ce73d6b
commit 91687f6aaf
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ LRESULT WINAPI CloseDriver(HDRVR hDrvr, LPARAM lParam1, LPARAM lParam2)
DRIVER_SendMessage(lpDrv0, DRV_CLOSE, 0L, 0L);
lpDrv0->d.d32.dwDriverID = 0;
DRIVER_RemoveFromList(lpDrv0);
FreeLibrary(lpDrv->d.d32.hModule);
FreeLibrary(lpDrv0->d.d32.hModule);
HeapFree(GetProcessHeap(), 0, lpDrv0);
}
FreeLibrary(lpDrv->d.d32.hModule);