commit | e39a4f852125d1f341fd490147e7a7c18252fe87 | [log] [tgz] |
---|---|---|
author | Jon Ashburn <jon@lunarg.com> | Fri Aug 28 13:38:21 2015 -0600 |
committer | Jon Ashburn <jon@lunarg.com> | Fri Sep 04 15:46:31 2015 -0600 |
tree | 97872ca98ed10b21a81b6c4fbff1477a14e5f0ee | |
parent | c82eb1c7a0f89179a8cedaa6d21d81580b4151d3 [diff] |
loader: Make use of app provided allocation callbacks Convert all heap allocs/frees to use loader_heap_alloc() or loader_heap_free(). Before CreateInstance this will use malloc/free. At (and after) CreateInstance alloc callbacks are stored and used for any allocations. Exceptions are thirdparty code (cJSON and dirent_on_windows) still always use malloc/free. Plan to address these in later patch if ti makes sense.