diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-02-12 17:06:31 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-02-13 13:51:54 -0500 |
| commit | 5365728462076834832090072788972585260876 (patch) | |
| tree | 488624f36cc3c3da2bb2acb14cf76a9e39918619 /view/sharedcache/api/sharedcache.cpp | |
| parent | 1925885513166893508719453618249182735388 (diff) | |
[SharedCache] Use StringRef for performance
Diffstat (limited to 'view/sharedcache/api/sharedcache.cpp')
| -rw-r--r-- | view/sharedcache/api/sharedcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/api/sharedcache.cpp b/view/sharedcache/api/sharedcache.cpp index 472bb024..2b5ba744 100644 --- a/view/sharedcache/api/sharedcache.cpp +++ b/view/sharedcache/api/sharedcache.cpp @@ -165,7 +165,7 @@ namespace SharedCacheAPI { { DSCSymbol sym; sym.address = value[i].address; - sym.name = value[i].name; + sym.name = StringRef(BNDuplicateStringRef(value[i].name)); sym.image = value[i].image; result.push_back(sym); } |
