runcoms2.c: plug setup memory leak

This commit is contained in:
h_vogt 2013-08-21 20:50:02 +02:00 committed by rlar
parent a97b330965
commit fceefb700c
1 changed files with 2 additions and 1 deletions

View File

@ -225,7 +225,8 @@ com_remcirc(wordlist *wl)
line_free(dd, TRUE);
tfree(ft_curckt->FTEstats);
tfree(ft_curckt->ci_defTask);
ft_sim->deleteTask (ft_curckt->ci_ckt, ft_curckt->ci_defTask);
if (ft_curckt->ci_name)
tfree(ft_curckt->ci_name);