From: Owen Smith Date: Mon, 21 Jun 2021 12:54:44 +0000 (+0100) Subject: Match __FreePage with __AllocatePage calls X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5890e83b049a57c1004115ae5a66a181d89c8132;p=pvdrivers%2Fwin%2Fxenvbd.git Match __FreePage with __AllocatePage calls Replace __FreePages with __FreePage when the memory was allocated with __AllocatePage. This is a cosmetic change, as __FreePage is an alias for __FreePages Signed-off-by: Owen Smith --- diff --git a/src/xenvbd/adapter.c b/src/xenvbd/adapter.c index 67dd14c..9fd2abc 100644 --- a/src/xenvbd/adapter.c +++ b/src/xenvbd/adapter.c @@ -1166,7 +1166,7 @@ AdapterBounceDtor( Bounce->BouncePtr = NULL; - __FreePages(Bounce->BounceMdl); + __FreePage(Bounce->BounceMdl); Bounce->BounceMdl = NULL; } diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c index bfe62a8..66e8cdd 100644 --- a/src/xenvbd/ring.c +++ b/src/xenvbd/ring.c @@ -494,7 +494,7 @@ BlkifRingIndirectDtor( UNREFERENCED_PARAMETER(Argument); - __FreePages(Indirect->Mdl); + __FreePage(Indirect->Mdl); Indirect->Page = NULL; Indirect->Mdl = NULL; }