runcoms2.c: remove ci_options upon remcirc

This commit is contained in:
h_vogt 2013-08-24 19:59:06 +02:00 committed by rlar
parent 5f6f53f9ad
commit 9520044a0f
1 changed files with 3 additions and 1 deletions

View File

@ -219,11 +219,13 @@ com_remcirc(wordlist *wl)
tfree(v);
}
ft_curckt->ci_vars = NULL;
/* delete the deck and parameter list in ft_curckt */
/* delete the deck, parameter list, and options list in ft_curckt */
dd = ft_curckt->ci_deck;
line_free(dd, TRUE);
dd = ft_curckt->ci_param;
line_free(dd, TRUE);
dd = ft_curckt->ci_options;
line_free(dd, TRUE);
wl_free(ft_curckt->ci_commands);