aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-10-17 13:59:03 -0600
committerBrian Paul <[email protected]>2017-10-23 15:10:38 -0600
commit5134c0dedf455a8a8311c2c43db49ac07b3fe0ce (patch)
treeaab92260ab1112153fc711bdad0602796cf8a1dc /src/gallium
parent89372220b3f0cc4f6894119bc0eff3cf86e7bd9f (diff)
mesa: use util_strdup() macro in u_debug_symbol.c
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_debug_symbol.c2
1 files changed, 1 insertions, 1 deletions
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);
}