Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pkg/rootless): avoid memleak during init() contructor.
`argv[0]`, ie: the full buffer allocated by `get_cmd_line_args`, was going to be freed only if `can_use_shortcut()` was called. Since that is not always the case, add a fallback cleanup method. Signed-off-by: Federico Di Pierro <[email protected]>
- Loading branch information