Use g_clear_* helpers where useful
Review Request #2369 — Created March 21, 2023 and submitted
That is:
- when the variable is set to
NULL
right after freeing - when the variable is checked for non-
NULL
before freeing - when the variable is a global (because they should be set to
NULL
, even if we don't really claim that things can be re-init'd)
Compiled, and ran tests in valgrind.
Summary | ID |
---|---|
a542968a4cb5380f209a1daa9a839a07da8230c3 |