992:14ca894190fd | 993:b642eca4b956 |
---|---|
135 } | 135 } |
136 } | 136 } |
137 abort(); | 137 abort(); |
138 } | 138 } |
139 | 139 |
140 void cxMempoolDestroy(CxMempool *pool) { | 140 void cxMempoolFree(CxMempool *pool) { |
141 if (pool == NULL) return; | 141 if (pool == NULL) return; |
142 struct cx_mempool_memory_s *mem; | 142 struct cx_mempool_memory_s *mem; |
143 for (size_t i = 0; i < pool->size; i++) { | 143 for (size_t i = 0; i < pool->size; i++) { |
144 mem = pool->data[i]; | 144 mem = pool->data[i]; |
145 if (mem->destructor) { | 145 if (mem->destructor) { |