runcoms2.c: plug memory leak during 'remcirc'

This commit is contained in:
h_vogt 2013-08-21 21:51:55 +02:00 committed by rlar
parent be45a5ca37
commit 9e8219da67
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,8 @@ com_remcirc(wordlist *wl)
dd = ft_curckt->ci_param;
line_free(dd, TRUE);
wl_free(ft_curckt->ci_commands);
tfree(ft_curckt->FTEstats);
ft_sim->deleteTask (ft_curckt->ci_ckt, ft_curckt->ci_defTask);