Changeset 4671 in vbox for trunk/src/VBox
- Timestamp:
- Sep 10, 2007 3:17:44 PM (17 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/nt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/alloc-r0drv-nt.cpp
r4071 r4671 57 57 /** 58 58 * Allocates physical contiguous memory (below 4GB). 59 * The allocation is page aligned and the contentis undefined.59 * The allocation is page aligned and its contents is undefined. 60 60 * 61 61 * @returns Pointer to the memory block. This is page aligned. -
trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp
r4223 r4671 86 86 87 87 MmFreePagesFromMdl(pMemNt->apMdls[0]); 88 ExFreePool(pMemNt->apMdls[0]); 88 89 pMemNt->apMdls[0] = NULL; 89 90 pMemNt->cMdls = 0; … … 122 123 { 123 124 MmFreePagesFromMdl(pMemNt->apMdls[0]); 125 ExFreePool(pMemNt->apMdls[0]); 124 126 pMemNt->apMdls[0] = NULL; 125 127 pMemNt->cMdls = 0; … … 287 289 } 288 290 MmFreePagesFromMdl(pMdl); 291 ExFreePool(pMdl); 289 292 } 290 293 #endif /* !IPRT_TARGET_NT4 */ … … 401 404 } 402 405 MmFreePagesFromMdl(pMdl); 406 ExFreePool(pMdl); 403 407 } 404 408 } … … 432 436 } 433 437 MmFreePagesFromMdl(pMdl); 438 ExFreePool(pMdl); 434 439 } 435 440 return VERR_NO_MEMORY;
Note:
See TracChangeset
for help on using the changeset viewer.