Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/signature: Fix leaking GString in get_pubkey_hash()
The variable 'string' will not be freed on error. Use g_autoptr to automatically free 'string' and use this to simplify code. Fixes coverity issue: | CID 1445505 (#1 of 1): Resource leak (RESOURCE_LEAK) | 7. leaked_storage: Variable string going out of scope leaks the storage it points to Signed-off-by: Enrico Joerns <[email protected]>
- Loading branch information