Skip to contentSkip to conversation

On the mm-debug mode, cannot release the memory.

DISCUSSION Hitoshi Ozeki 2 participants 3 messages Apr 10, 2007 – Apr 12, 2007

lore
Share & tools
lore
#0 lore raw

Hello, all.

Please look at line 445 of 'grub-1.95/kern/mm.c'.

-begin--------------------------------------------------------------------- void
grub_debug_free (const char *file, int line, void *ptr)
{
if (grub_mm_debug)

    grub_printf ("%s:%d: free (%p)\n", file, line, ptr);
}

-end-----------------------------------------------------------------------

This code outputs the message. But doesn't release the memory in actually.

Signature · 1 line
 Hitoshi Ozeki [email protected]
#1 lore raw
Quoted 9 lines · Hitoshi Ozeki

Hello, all.

Please look at line 445 of 'grub-1.95/kern/mm.c'.

-begin--------------------------------------------------------------------- void
grub_debug_free (const char *file, int line, void *ptr)
{
if (grub_mm_debug)

Quoted 5 lines
    grub_printf ("%s:%d: free (%p)\n", file, line, ptr);
}

-end-----------------------------------------------------------------------

This code outputs the message. But doesn't release the memory in actually.

I hit this problem too, and it has been fixed in CVS.

-Hollis

#2 lore raw

Hello,

From: Hollis Blanchard

	> Please look at line 445 of 'grub-1.95/kern/mm.c'.
	I hit this problem too, and it has been fixed in CVS.

Sorry, I don't have used CVS. Let me study harder.