Changeset 682229 for molecuilder/src/memoryallocator.hpp
- Timestamp:
- Oct 9, 2009, 12:08:24 PM (16 years ago)
- Children:
- e71890
- Parents:
- 89eff5 (diff), afbb6c0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
molecuilder/src/memoryallocator.hpp (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/memoryallocator.hpp
-
Property mode
changed from
100644to100755
r89eff5 r682229 111 111 * \param pointer to the allocated memory range to free; may be NULL, this function is a no-op then 112 112 */ 113 template <typename X> void Free(X** buffer )113 template <typename X> void Free(X** buffer, const char *msg = NULL) 114 114 { 115 115 if ((buffer == NULL) || (*buffer == NULL)) 116 116 return; 117 117 118 MemoryUsageObserver::getInstance()->removeMemory(*buffer );118 MemoryUsageObserver::getInstance()->removeMemory(*buffer, msg); 119 119 free(*buffer); 120 120 *buffer = NULL; -
Property mode
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
