Added error message in LOCAL_GetBlock().

This commit is contained in:
Rein Klazes 2001-12-17 21:20:27 +00:00 committed by Alexandre Julliard
parent 5d6aacc1d5
commit 9aa748cb2a
1 changed files with 2 additions and 0 deletions

View File

@ -909,6 +909,8 @@ notify_done:
if ((pInfo->notify) && (LOCAL_CallTo16_word_www(pInfo->notify, LN_OUTOFMEM, ds - 20, size))) /* FIXME: "size" correct ? (should indicate bytes needed) */
goto notify_done;
#endif
ERR( "not enough space in %s heap %04x for %d bytes\n",
get_heap_name(ds), ds, size );
return 0;
}
ptr = MapSL( MAKESEGPTR( ds, 0 ) );