6 Jul
2013
6 Jul
'13
12:02 p.m.
Holger Hans Peter Freyther wrote:
Does msg also need to be set to NULL after the above msgb_free()?
I think it is good practice to set it to NULL to get a clean segfault in case we add more code. :)
That's a good point too! I was thinking about if the variable is tested again later in the same function. //Peter