mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
wrong size of memory was alloc in startup.c
svn path=/trunk/; revision=27047
This commit is contained in:
parent
01309cc881
commit
bfccdbeac1
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue