Allocate the proper size for the SystemClock object.

This commit is contained in:
Christian Costa 2004-12-08 19:33:09 +00:00 committed by Alexandre Julliard
parent 3dc64fc541
commit ce70daf3ec
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ HRESULT QUARTZ_CreateSystemClock(IUnknown * pUnkOuter, LPVOID * ppv) {
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;