0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

ta/README: fix typos

This commit is contained in:
wm4 2014-10-13 18:56:42 +02:00
parent e9b0a61444
commit be0896c173

View File

@ -1,10 +1,10 @@
TA ("Tree Allocator") is a wrapper around malloc() and related functions,
adding features like automatically free sub-trees of memory allocations if
adding features like automatically freeing sub-trees of memory allocations if
a parent allocation is freed.
Generally, the idea is that every TA allocation can have a parent (indicated
by the ta_parent argument in allocation function calls). If a parent is freed,
its child allocations are automatically freed as well. It's also allowed the
its child allocations are automatically freed as well. It is also allowed to
free a child before the parent, or to move a child to another parent with
ta_set_parent().