Use g_clear_* helpers where useful

Review Request #2369 — Created March 21, 2023 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

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.

Commits

Files