pidgin/pidgin

08b79a9a0ad2
Fix some issues scanbuild found in the simple protocol plugin

Testing Done:
Verified scanbuild no longer detected the errors.

Reviewed at https://reviews.imfreedom.org/r/704/
For information on hacking on Pidgin, Finch, or libpurple, see:
http://developer.pidgin.im