Skip to content
Snippets Groups Projects
Commit ce70daf3 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard
Browse files

Allocate the proper size for the SystemClock object.

parent 3dc64fc5
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment