wrong size of memory was alloc in startup.c

svn path=/trunk/; revision=27047
This commit is contained in:
Magnus Olsen 2007-06-07 12:56:13 +00:00
parent 01309cc881
commit bfccdbeac1

View file

@ -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");