mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-21 12:54:30 +02:00
ensure f_nodes.f_count are initialized to 0 (always clear KernelAlloc'd memory)
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1098 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
5c262419e5
commit
42c99c7d70
@ -1477,7 +1477,7 @@ void FAR * KernelAlloc(size_t nBytes, char type, int mode)
|
||||
{
|
||||
/* prealloc */
|
||||
lpTop = MK_FP(FP_SEG(lpTop) - nPara, FP_OFF(lpTop));
|
||||
return AlignParagraph(lpTop);
|
||||
p=AlignParagraph(lpTop);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user