- leak detective is usable, but does not show static function names
- a script which gets address via ldd and resolves address via addr2line would be nice - fixed a leak in child_sa with new detective ;-)
This commit is contained in:
Binary file not shown.
@@ -263,12 +263,11 @@ void signal_handler(int signal)
|
||||
|
||||
for (i = 0; i < size; i++)
|
||||
{
|
||||
logger->log(logger, ERROR, "\t%s", strings[i]);
|
||||
logger->log(logger, ERROR, " %s", strings[i]);
|
||||
}
|
||||
|
||||
free (strings);
|
||||
|
||||
charon->kill(charon, "SIGSEGV received");
|
||||
/* kill ourselve the hard way, anything other may result in more SIGSEGVs*/
|
||||
kill(getpid(), SIGKILL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -447,6 +447,8 @@ static status_t add_policies(private_child_sa_t *this, linked_list_t *my_ts_list
|
||||
{
|
||||
my_iter->destroy(my_iter);
|
||||
other_iter->destroy(other_iter);
|
||||
policy->my_net->destroy(policy->my_net);
|
||||
policy->other_net->destroy(policy->other_net);
|
||||
free(policy);
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user