[QUARTZ] SystemClock fix

Christian Costa titan.costa at wanadoo.fr
Wed Dec 8 09:22:10 CST 2004


Hi,

Changelog:
Allocate the proper size for the SystemClock object.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: systemclock.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/systemclock.c,v
retrieving revision 1.5
diff -u -r1.5 systemclock.c
--- systemclock.c	8 Sep 2004 01:50:37 -0000	1.5
+++ systemclock.c	8 Dec 2004 15:01:48 -0000
@@ -359,7 +359,7 @@
   
   TRACE("(%p,%p)\n", ppv, pUnkOuter);
   
-  obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IReferenceClock));
+  obj = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SystemClockImpl));
   if (NULL == obj) 	{
     *ppv = NULL;
     return E_OUTOFMEMORY;


More information about the wine-patches mailing list