replace malloc macros in imports.h with u_memory.h versions

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
This commit is contained in:
Dylan Baker
2018-09-12 15:56:30 -07:00
parent 9ee6e78a87
commit b85775900d
68 changed files with 70 additions and 1 deletions

View File

@@ -43,6 +43,7 @@
#include "util/hash_table.h"
#include "util/set.h"
#include "util/u_memory.h"
static void
free_shared_state(struct gl_context *ctx, struct gl_shared_state *shared);