Author: fireball
Date: Fri Dec 16 15:36:38 2011
New Revision: 54660
URL:
http://svn.reactos.org/svn/reactos?rev=54660&view=rev
Log:
[RTL/QDB]
- Fix a massive memory leak when running Opera 9.64 (because created QDBs were never
freed).
Modified:
trunk/reactos/lib/rtl/dbgbuffer.c
Modified: trunk/reactos/lib/rtl/dbgbuffer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/dbgbuffer.c?rev=54…
==============================================================================
--- trunk/reactos/lib/rtl/dbgbuffer.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/dbgbuffer.c [iso-8859-1] Fri Dec 16 15:36:38 2011
@@ -54,7 +54,7 @@
if (NULL != Buf)
{
Status = NtFreeVirtualMemory( NtCurrentProcess(),
- (PVOID)&Buf,
+ (PVOID)Buf,
(PSIZE_T)&Buf->ViewSize, /* FIXME: not
portable! */
MEM_RELEASE);
}