diff --git a/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrash.m b/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrash.m index 07f2597c7..1de33fbfd 100644 --- a/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrash.m +++ b/Source/KSCrash/Source/KSCrash/Recording/BSG_KSCrash.m @@ -370,6 +370,8 @@ - (void)reportUserException:(NSString *)name depth, terminateProgram); + free(callstack); + // If bsg_kscrash_reportUserException() returns, we did not terminate. // Set up IDs and paths for the next crash.