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:
Magnus Olsen 2008-04-26 12:11:01 +00:00
parent a5887ec19a
commit c7ef3adff2

View file

@ -57,6 +57,9 @@ EngDeleteSemaphore ( IN HSEMAPHORE hsem )
{
// www.osr.com/ddk/graphics/gdifncs_13c7.htm
ASSERT ( hsem );
ExDeleteResourceLite((PERESOURCE)hsem);
ExFreePool ( (PVOID)hsem );
}