[Mesa-dev] [PATCH 4/5] mesa: use util_strdup() macro in u_debug_symbol.c
Brian Paul
brianp at vmware.com
Tue Oct 17 21:17:02 UTC 2017
---
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 4b55523..8476043 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);
}
--
1.9.1
More information about the mesa-dev
mailing list