💭 I am curious if another software developer (besides me) can get into the mood to apply a corresponding update suggestion which could be generated by the software “Coccinelle” (also with the help of a variant from the following script).
That would be useful, yes. Will try it myself at some stage, and although this particular change isn't high on my to-do list, there may be others that are more so!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well I think this comes down to a style preference, mine being to check for NULL before calling
free()
, to make the logic explicit.I would prefer to get rid of another bit of redundant source code.
Yes I can see that point of view. If you wish to do a Merge Request I'll merge it, thanks.
💭 I am curious if another software developer (besides me) can get into the mood to apply a corresponding update suggestion which could be generated by the software “Coccinelle” (also with the help of a variant from the following script).
That would be useful, yes. Will try it myself at some stage, and although this particular change isn't high on my to-do list, there may be others that are more so!