]> xenbits.xensource.com Git - people/pauldu/xeniface.git/commit
Fix memory leak in __FreePage()
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 6 Jan 2017 15:52:26 +0000 (15:52 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 6 Jan 2017 15:52:26 +0000 (15:52 +0000)
commit9a38df1fe7bc83467bd86e2089a03d07e365ba3a
tree65a9f5c8f590b06079fe99e3e81d1923c86c9232
parent3a368269a6dfe081f0c54728ea1b45b5e8c4b819
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/xeniface/util.h