diff options
author | Brian Paul <[email protected]> | 2017-10-17 13:59:03 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-10-23 15:10:38 -0600 |
commit | 5134c0dedf455a8a8311c2c43db49ac07b3fe0ce (patch) | |
tree | aab92260ab1112153fc711bdad0602796cf8a1dc /src | |
parent | 89372220b3f0cc4f6894119bc0eff3cf86e7bd9f (diff) |
mesa: use util_strdup() macro in u_debug_symbol.c
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug_symbol.c | 2 |
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); } |