[ros-diffs] [janderwald] 43111: - Fix a bug spotted by Timo

janderwald at svn.reactos.org janderwald at svn.reactos.org
Tue Sep 22 15:54:34 CEST 2009


Author: janderwald
Date: Tue Sep 22 15:54:33 2009
New Revision: 43111

URL: http://svn.reactos.org/svn/reactos?rev=43111&view=rev
Log:
- Fix a bug spotted by Timo

Modified:
    trunk/reactos/drivers/ksfilter/ks/allocators.c

Modified: trunk/reactos/drivers/ksfilter/ks/allocators.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/ksfilter/ks/allocators.c?rev=43111&r1=43110&r2=43111&view=diff
==============================================================================
--- trunk/reactos/drivers/ksfilter/ks/allocators.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/ksfilter/ks/allocators.c [iso-8859-1] Tue Sep 22 15:54:33 2009
@@ -315,7 +315,7 @@
     if (Frame)
     {
         *OutFrame = Frame;
-        InterlockedIncrement((PLONG)This->Status.AllocatedFrames);
+        InterlockedIncrement((PLONG)&This->Status.AllocatedFrames);
         return STATUS_SUCCESS;
     }
 




More information about the Ros-diffs mailing list