Skip to content

Commit a70e0ee

Browse files
maxtacommaxim
authored andcommitted
memleak fix
1 parent 8fd73bc commit a70e0ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎osx/Helper/KBHelper.m‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ - (void)checkKeybaseBinary:(NSURL *)bin error:(NSError **)error {
235235
if (codeCheckResult != errSecSuccess) {
236236
*error = KBMakeError(codeCheckResult, @"Binary not signed by Keybase");
237237
}
238+
if (staticCode) CFRelease(staticCode);
239+
if (keybaseRequirement) CFRelease(keybaseRequirement);
238240
}
239241

240242
- (void)unmount:(NSString *)mount error:(NSError **)error {

0 commit comments

Comments
 (0)