Skip to content

Commit

Permalink
This should be better
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed May 6, 2024
1 parent 1fa5a50 commit 171fc4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion BaseBin/launchdhook/src/jbserver/jbdomain_systemwide.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,11 @@ static int systemwide_process_checkin(audit_token_t *processToken, char **rootPa
};
int sandboxExtensionsCount = sizeof(sandboxExtensionsArr) / sizeof(char *);
*sandboxExtensionsOut = combine_strings('|', sandboxExtensionsArr, sandboxExtensionsCount);
for (int i = 0; i < sandboxExtensionsCount; i++) free(sandboxExtensionsArr[i]);
for (int i = 0; i < sandboxExtensionsCount; i++) {
if (sandboxExtensionsArr[i]) {
free(sandboxExtensionsArr[i]);
}
}

bool fullyDebugged = false;
if (stringStartsWith(procPath, "/private/var/containers/Bundle/Application") || stringStartsWith(procPath, JBRootPath("/Applications"))) {
Expand Down

0 comments on commit 171fc4d

Please sign in to comment.