exile_append_syscall_policy(): Add missing free()

This commit is contained in:
Albert S. 2022-10-23 19:52:56 +02:00
parent ff60ec227d
commit b5f83499f3

Vedi File

@ -382,6 +382,7 @@ int exile_append_syscall_policy(struct exile_policy *exile_policy, long syscall,
{
EXILE_LOG_ERROR("Too many argfilters supplied\n");
exile_policy->exile_flags |= EXILE_FLAG_ADD_SYSCALL_POLICY_FAIL;
free(newpolicy);
return -1;
}
for(size_t i = 0; i < n; i++)