diff --git a/rosapps/downloader/download.c b/rosapps/downloader/download.c index 7a523d2561e..ded010144de 100644 --- a/rosapps/downloader/download.c +++ b/rosapps/downloader/download.c @@ -206,11 +206,10 @@ CreateDl(HWND Dlg, BOOL *pbCancelled) { IBindStatusCallbackImpl *This; - This = HeapAlloc(GetProcessHeap(), 0, sizeof(IBindStatusCallbackImpl)); + This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IBindStatusCallbackImpl)); if (!This) return NULL; - ZeroMemory(This, sizeof(IBindStatusCallbackImpl)); This->vtbl = &dlVtbl; This->ref = 1; This->hDialog = Dlg;