From e84459d04bfb7531a843244a3fb629bfff5a0978 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Fri, 6 Apr 2012 08:13:29 +0000 Subject: [PATCH] Free ballooned pages with the corresponding malloc type. MFC after: 1 week --- sys/dev/xen/balloon/balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/balloon/balloon.c b/sys/dev/xen/balloon/balloon.c index 6aa8c9bbe9b6..f31c72ba9d4c 100644 --- a/sys/dev/xen/balloon/balloon.c +++ b/sys/dev/xen/balloon/balloon.c @@ -140,7 +140,7 @@ balloon_retrieve(void) STAILQ_REMOVE_HEAD(&ballooned_pages, list); page = entry->page; - free(entry, M_DEVBUF); + free(entry, M_BALLOON); bs.balloon_low--;