Mon, 14 May 2018 13:15:32 +0200
fixes typo in modules.md
docs/src/modules.md | file | annotate | diff | comparison | revisions |
--- a/docs/src/modules.md Mon May 14 13:13:36 2018 +0200 +++ b/docs/src/modules.md Mon May 14 13:15:32 2018 +0200 @@ -452,7 +452,7 @@ /* register destructor function */ ucx_mempool_set_destr(obj, (ucx_destructor) my_object_destroy); ``` -But aware, that your destructor function should not free any memory, that is +Be aware, that your destructor function should not free any memory, that is also managed by the pool. Otherwise you might be risking a double-free.