Skip to content

Commit

Permalink
This memory leak fix was also bogus. Darn.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsj committed Jul 12, 2018
1 parent c6f5543 commit b3b7185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/application/internal.m
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ AXUIElementRef _findmenuitembyname(lua_State* L, AXUIElementRef app, NSString *n
[skin logBreadcrumb:[NSString stringWithFormat:@"Got an error (%d) fetching menu children, skipping", (int)error]];
continue;
}
[toCheck addObjectsFromArray:(__bridge_transfer NSArray *)cf_menuchildren];
[toCheck addObjectsFromArray:(__bridge NSArray *)cf_menuchildren];
} else if (childcount == 0) {
// This doesn't seem to be a submenu, so see if it's a match
if (!nameIsRegex && [name isEqualToString:title]) {
Expand Down

0 comments on commit b3b7185

Please sign in to comment.