History

set tmempool leaf pointer in tmempool_inittopool

Matthew Wang committed 6 years ago

Commit a5ffd431 parent 53a6d7a1 file · +2 −0Browse files

Unified · Split

leaf/Src/leaf-mempool.c+2−0
@@ -425,5 +425,7 @@ void tMempool_initToPool (tMempool* const mp, char* memory, size_t size, · 424 unmodified lines
425425 _tMempool* mm = *mem;
426426 _tMempool* m = *mp = (_tMempool*) mpool_alloc(sizeof(_tMempool), mm);
427427
428+ m->leaf = mm->leaf;
429+
428430 mpool_create (memory, size, m);
429431 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t