projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8937222
)
mesa: use util_strdup() macro in u_debug_symbol.c
author
Brian Paul
<brianp@vmware.com>
Tue, 17 Oct 2017 19:59:03 +0000
(13:59 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 23 Oct 2017 21:10:38 +0000
(15:10 -0600)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_debug_symbol.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_symbol.c
b/src/gallium/auxiliary/util/u_debug_symbol.c
index 4b555238644fd16b9b5f9b5135df3c01cbfc2831..847604304892a80d8c5f5005a9f4137e7445a27b 100644
(file)
--- 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);
}