mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Make sure ThunkTable is not NULL before attempting to free it
- It gets set to NULL when the thunk is successfully added - I have no idea how this ever worked without this fix svn path=/trunk/; revision=37125
This commit is contained in:
parent
eaba38bfb8
commit
b949b9b7c3
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ Cleanup:
|
|||
KeLeaveCriticalRegion();
|
||||
|
||||
/* Free the table if we failed and return status */
|
||||
ExFreePool(ThunkTable);
|
||||
if (ThunkTable) ExFreePool(ThunkTable);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue