X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fconfig%2Fcmvalche.c;h=8f598573937db19b1bd9fe960793af561109f7bf;hp=52297a3c582a1c6943daf65f6e66e7c97d98150e;hb=6ca346d8d433cbbb459c2d6ff22cf56b4e8146cb;hpb=e6097bec743047badb2b05a3ff8943779018d452 diff --git a/reactos/ntoskrnl/config/cmvalche.c b/reactos/ntoskrnl/config/cmvalche.c index 52297a3c582..8f598573937 100644 --- a/reactos/ntoskrnl/config/cmvalche.c +++ b/reactos/ntoskrnl/config/cmvalche.c @@ -797,7 +797,7 @@ Quickie: if (ValueCellToRelease) HvReleaseCell(Kcb->KeyHive, ValueCellToRelease); /* Free the buffer */ - if (BufferAllocated) ExFreePool(Buffer); + if (BufferAllocated) CmpFree(Buffer, 0); /* Free the cell */ if (CellToRelease) HvReleaseCell(Kcb->KeyHive, CellToRelease);