Thu, 03 Jun 2021 19:33:07 -0500
Fix some null pointer deferences and dead stores that scanbuild found in Pidgin
Testing Done:
Verified scanbuild no long detected the errors.
Reviewed at https://reviews.imfreedom.org/r/719/
#include "gtkmodule.h" MODULE = Pidgin::Pounce PACKAGE = Pidgin::Pounce PREFIX = pidgin_pounce_ PROTOTYPES: ENABLE void pidgin_pounce_editor_show(account, name, cur_pounce) Purple::Account account const char * name Purple::Pounce cur_pounce MODULE = Pidgin::Pounce PACKAGE = Pidgin::Pounces PREFIX = pidgin_pounces_ PROTOTYPES: ENABLE Purple::Handle pidgin_pounces_get_handle() MODULE = Pidgin::Pounce PACKAGE = Pidgin::Pounces::Manager PREFIX = pidgin_pounces_manager_ PROTOTYPES: ENABLE void pidgin_pounces_manager_show() void pidgin_pounces_manager_hide()