mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
wrong size of memory was alloc in startup.c
svn path=/trunk/; revision=27047
This commit is contained in:
@@ -64,7 +64,8 @@ Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface,
|
||||
DX_STUB_str("here\n");
|
||||
|
||||
/* Fixme release memory alloc if we fail */
|
||||
DxHeapMemAlloc(This->lpLcl, sizeof(DDRAWI_DIRECTDRAW_INT));
|
||||
|
||||
DxHeapMemAlloc(This->lpLcl, sizeof(DDRAWI_DIRECTDRAW_LCL));
|
||||
if (This->lpLcl == NULL)
|
||||
{
|
||||
DX_STUB_str("DDERR_OUTOFMEMORY\n");
|
||||
|
||||
Reference in New Issue
Block a user