aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/lib
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-05-12 10:36:27 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-05-12 10:36:27 +0100
commit8e3629845ce077e521067a2e1a243b0a681b6d24 (patch)
tree9146c4fe31cf90df2bc032fabc088e925a10ee7e /extras/mini-os/lib
parent35eedd3a1794cf1e7f94680ee571c1ec9ca19c44 (diff)
downloadxen-8e3629845ce077e521067a2e1a243b0a681b6d24.tar.gz
xen-8e3629845ce077e521067a2e1a243b0a681b6d24.tar.bz2
xen-8e3629845ce077e521067a2e1a243b0a681b6d24.zip
minios: free netfront resources on error/shutdown
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/lib')
-rw-r--r--extras/mini-os/lib/xmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/lib/xmalloc.c b/extras/mini-os/lib/xmalloc.c
index 82d5cc61db..59f4ad5dd8 100644
--- a/extras/mini-os/lib/xmalloc.c
+++ b/extras/mini-os/lib/xmalloc.c
@@ -264,7 +264,7 @@ void xfree(const void *p)
printk("Bug\n");
*(int*)0=0;
}
- free_pages(hdr, 0);
+ free_page(hdr);
}
else
{