Changeset 77187 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 6, 2019 7:58:40 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128676
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/MMHeap.cpp
r76553 r77187 86 86 87 87 /** 88 * MM heap statistics tree destroy callback. 89 */ 90 static DECLCALLBACK(int) mmR3HeapStatTreeDestroy(PAVLULNODECORE pCore, void *pvParam) 91 { 92 RT_NOREF(pvParam); 93 94 /* Don't bother deregistering the stat samples as they get destroyed by STAM. */ 95 RTMemFree(pCore); 96 return VINF_SUCCESS; 97 } 98 99 100 /** 88 101 * Destroy a heap. 89 102 * … … 112 125 * Free the stat nodes. 113 126 */ 114 /** @todo free all nodes in a AVL tree. */127 RTAvlULDestroy(&pHeap->pStatTree, mmR3HeapStatTreeDestroy, NULL); 115 128 RTMemFree(pHeap); 116 129 }
Note:
See TracChangeset
for help on using the changeset viewer.