]> xenbits.xensource.com Git - people/pauldu/xenvif.git/commit
Fix memory leak in __FreePage()
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 6 Jan 2017 15:44:00 +0000 (15:44 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 6 Jan 2017 15:44:00 +0000 (15:44 +0000)
commitf529058c7516996b08329711f588df3a7498687a
tree5fb2e2b47182e44d2e89c86d9d40a0624383c9be
parentabdac003549cd8274b3cfccff04b9bc5cd94049a
Fix memory leak in __FreePage()

The pool memory for the MDL also needs to be freed.

Also, generalise __AllocatePage() and __FreePage() to __AllocatePages()
and __FreePages() to allow for multi-page allocations in future.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvif/util.h