From 94be72c20be1cfd4ea8b8f6c27c6bdc75cb2a843 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Fri, 28 Aug 2015 13:38:21 -0600 Subject: 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. --- loader/debug_report.h | 1 + 1 file changed, 1 insertion(+) (limited to 'loader/debug_report.h') diff --git a/loader/debug_report.h b/loader/debug_report.h index 52cd1702..a04386a0 100644 --- a/loader/debug_report.h +++ b/loader/debug_report.h @@ -91,6 +91,7 @@ */ void debug_report_add_instance_extensions( + const struct loader_instance *inst, struct loader_extension_list *ext_list); void debug_report_create_instance( -- cgit v1.2.3