diff options
Diffstat (limited to 'view/sharedcache/api/python')
| -rw-r--r-- | view/sharedcache/api/python/sharedcache.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/view/sharedcache/api/python/sharedcache.py b/view/sharedcache/api/python/sharedcache.py index 54745ed5..b660d9d9 100644 --- a/view/sharedcache/api/python/sharedcache.py +++ b/view/sharedcache/api/python/sharedcache.py @@ -109,8 +109,7 @@ class SharedCache: self.handle = sccore.BNGetSharedCache(view.handle) def load_image_with_install_name(self, installName): - str = BNAllocString(installName.encode('utf-8')) - return sccore.BNDSCViewLoadImageWithInstallName(self.handle, str) + return sccore.BNDSCViewLoadImageWithInstallName(self.handle, installName) def load_section_at_address(self, addr): return sccore.BNDSCViewLoadSectionAtAddress(self.handle, addr) |
