Author: cwittich
Date: Fri Sep 4 07:59:51 2015
New Revision: 68979
URL:
http://svn.reactos.org/svn/reactos?rev=68979&view=rev
Log:
[PORTCLS] fix memory leak in error case CID 716555
Modified:
trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp
Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/…
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/undoc.cpp [iso-8859-1] Fri Sep 4
07:59:51 2015
@@ -207,6 +207,7 @@
else
{
// invalid buffer size
+ FreeItem(PropertyRequest, TAG_PORTCLASS);
return STATUS_INVALID_BUFFER_SIZE;
}