mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 11:00:55 +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
|
@ -146,7 +146,7 @@ Cleanup:
|
||||||
KeLeaveCriticalRegion();
|
KeLeaveCriticalRegion();
|
||||||
|
|
||||||
/* Free the table if we failed and return status */
|
/* Free the table if we failed and return status */
|
||||||
ExFreePool(ThunkTable);
|
if (ThunkTable) ExFreePool(ThunkTable);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue