Fix some issues scanbuild found in the xmpp protocol plugin
Review Request #711 — Created June 2, 2021 and submitted
Fix some issues scanbuild found in the xmpp protocol plugin
Verified that scanbuild no longer detected the errors.
-
-
libpurple/protocols/jabber/google/google_session.c (Diff revision 2) grim, the reason this one wasn't triggering a memory leak according to scanbuild is problem because session->state is ALWAYS set to UNINIT by the calling function that allocated the memory.