mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
Bugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail dot com) aka irc : encoded
------------- it did not releas the create resuse, it was leaking. svn path=/trunk/; revision=33148
This commit is contained in:
parent
a5887ec19a
commit
c7ef3adff2
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ EngDeleteSemaphore ( IN HSEMAPHORE hsem )
|
|||
{
|
||||
// www.osr.com/ddk/graphics/gdifncs_13c7.htm
|
||||
ASSERT ( hsem );
|
||||
|
||||
ExDeleteResourceLite((PERESOURCE)hsem);
|
||||
|
||||
ExFreePool ( (PVOID)hsem );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue