Fix memory corruption when using -R; the values being stored in the list

weren't freeable when they should have been.
This commit is contained in:
David Given 2019-02-15 23:40:42 +01:00
parent e976e10708
commit 245478a030

View file

@ -223,7 +223,7 @@ static void set_Rflag(char* argp)
} }
else if (*eos == '=') else if (*eos == '=')
{ {
t_cont(*prog)->t_prog = eos + 1; t_cont(*prog)->t_prog = keeps(eos + 1);
} }
else else
{ {