mesa: use util_strdup() macro in u_debug_symbol.c
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
89372220b3
commit
5134c0dedf
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue