]> xenbits.xensource.com Git - people/pauldu/xenvif.git/commitdiff
Remove the explicit ExFreePool(Mdl) in TransmitterBufferDtor()
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 9 Jan 2017 11:45:21 +0000 (11:45 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 9 Jan 2017 11:45:21 +0000 (11:45 +0000)
It should no longer be there as of commit f529058c since it now
constitutes a double-free.

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

index f861efa4a55f587e50500d0324c82986ab12c031..6bb12aab9bf8ce699703098b1f4614628759cb77 100644 (file)
@@ -420,7 +420,6 @@ TransmitterBufferDtor(
     Mdl->ByteCount = PAGE_SIZE;
 
     __FreePage(Mdl);
-    ExFreePool(Mdl);
 
     ASSERT(IsZeroMemory(Buffer, sizeof (XENVIF_TRANSMITTER_BUFFER)));
 }