[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Fix memory leak in __FreePages()
The pool memory for the MDL also needs to be freed. Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx> --- src/xendisk/util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xendisk/util.h b/src/xendisk/util.h index 38f2aa7..169dc6c 100644 --- a/src/xendisk/util.h +++ b/src/xendisk/util.h @@ -253,6 +253,7 @@ __FreePages( MmUnmapLockedPages(MdlMappedSystemVa, Mdl); MmFreePagesFromMdl(Mdl); + ExFreePool(Mdl); } #define __FreePage(_Mdl) __FreePages(_Mdl) -- 2.5.3 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |