From 5134c0dedf455a8a8311c2c43db49ac07b3fe0ce Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 17 Oct 2017 13:59:03 -0600 Subject: [PATCH] mesa: use util_strdup() macro in u_debug_symbol.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/auxiliary/util/u_debug_symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_debug_symbol.c b/src/gallium/auxiliary/util/u_debug_symbol.c index 4b555238644..84760430489 100644 --- a/src/gallium/auxiliary/util/u_debug_symbol.c +++ b/src/gallium/auxiliary/util/u_debug_symbol.c @@ -309,7 +309,7 @@ debug_symbol_name_cached(const void *addr) { char buf[1024]; debug_symbol_name(addr, buf, sizeof(buf)); - name = strdup(buf); + name = util_strdup(buf); util_hash_table_set(symbols_hash, (void*)addr, (void*)name); } -- 2.30.2