fix from Verstoep: free() was called twice on same arg

This commit is contained in:
ceriel 1990-06-12 10:07:00 +00:00
parent 39fee04619
commit a28eb23f82

View file

@ -608,7 +608,8 @@ addargs(string) char *string ; {
l_add(curargs,keeps(in.p_path)) ; l_add(curargs,keeps(in.p_path)) ;
} else { } else {
scanlist( l_first(*comb_args), elem ) { scanlist( l_first(*comb_args), elem ) {
l_add(curargs,p_cont(*elem)->p_path) ; l_add(curargs,
keeps(p_cont(*elem)->p_path)) ;
} }
} }
return ; return ;