com_option.c, mif_inp2.c: remove memory leaks

This commit is contained in:
h_vogt 2016-01-01 11:00:59 +01:00 committed by rlar
parent 03b47b3e34
commit 137f8e9641
2 changed files with 2 additions and 0 deletions

View File

@ -115,5 +115,6 @@ com_option(wordlist *wl)
cp_vset(vars->va_name, vars->va_type, s);
vars = vars->va_next;
}
free_struct_variable(vars);
}

View File

@ -498,6 +498,7 @@ MIF_INP2A (
}
tfree(model);
tfree(next_token);
/* check connection constraints */