The function bin_cleanup declared in output/outbin.c during deleting labels (see step 8) does not delete a 'name' of the label.
The 'labels.c' file function 'redefine_label' push responsibility for freeing this memory on a output driver.
The thing is that labels could be either globals (so then we make malloc'ed copy passed) or non-globals (when we don't allocate memory for the label that way). So cleaning up should not be done by simply "free" label. Additional efforts needed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh, I was not logged while replying. Anyway -- at moment we;re at late RC stage so this minor-issue should be resolved but most probably after release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, will take a look.
The thing is that labels could be either globals (so then we make malloc'ed copy passed) or non-globals (when we don't allocate memory for the label that way). So cleaning up should not be done by simply "free" label. Additional efforts needed.
Oh, I was not logged while replying. Anyway -- at moment we;re at late RC stage so this minor-issue should be resolved but most probably after release.