diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-04-11 12:32:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-04-11 12:32:46 -0700 |
commit | bb550cd603adf92c5389a3aff6db96353cdf6339 (patch) | |
tree | 4cd08d3f3234cb67a4bb10823af3c53f0a34110f /args.c | |
parent | db3011bf955768f3f0a9411b2f9782b1290c950d (diff) | |
download | txr-bb550cd603adf92c5389a3aff6db96353cdf6339.tar.gz txr-bb550cd603adf92c5389a3aff6db96353cdf6339.tar.bz2 txr-bb550cd603adf92c5389a3aff6db96353cdf6339.zip |
gc: code improvment in finalizer calling.
* gc.c (call_finalizers_impl): We don't have to null out the
next pointer of the finalization entry in the loop and note
that we are not doing this for the nodes that are going back
into final_list. Rather, we null-terminate the found list at
the end of the loop, just like we do with the final list.
Diffstat (limited to 'args.c')
0 files changed, 0 insertions, 0 deletions