4 ms·
Call free(NULL); does not lead to any trouble. However, if you say that regularly use such statmen in your code, I'll be surprised. Analyzer surprised too. PVS
by AndreyKarpov 12y ago
Call free(NULL); does not lead to any trouble. However, if you say that regularly use such statmen in your code, I'll be surprised. Analyzer surprised too. PVS suspects that it is not okay, and maybe we're dealing with some kind of typo or something else.
- cremno 12y agoYes, free(NULL) is a questionable statement. The source code comment (not the analyzer) just irritated me.