https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109570
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks for filing this bug. I think -fanalyzer should warn about fclose(NULL), but not for free(NULL).
dmalcolm at gcc dot gnu.org via Gcc-bugs Thu, 20 Apr 2023 14:32:02 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109570
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Thanks for filing this bug. I think -fanalyzer should warn about fclose(NULL), but not for free(NULL).