Commit de1d42e6 authored by Ingo Brückl's avatar Ingo Brückl

Remove erroneous free().

The address operator is wrong and the memory actually meant
to be freed has already been freed by ifoFree_PGC() anyway.
parent b8151c7f
......@@ -1932,7 +1932,6 @@ static void ifoFree_PGCIT_internal(pgcit_t **pgcit) {
for(i = 0; i < (*pgcit)->nr_of_pgci_srp; i++)
{
ifoFree_PGC(&(*pgcit)->pgci_srp[i].pgc);
free(&(*pgcit)->pgci_srp[i].pgc);
}
free((*pgcit)->pgci_srp);
free(*pgcit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment