pidgin/plugins/perl/common/GtkDebug.xs

Thu, 03 Jun 2021 19:33:07 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 03 Jun 2021 19:33:07 -0500
branch
release-2.x.y
changeset 40926
d10bb378f560
parent 15899
75f0041f72b8
child 18068
b6554e3c8224
permissions
-rw-r--r--

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::Debug  PACKAGE = Pidgin::Debug  PREFIX = pidgin_debug_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_debug_get_handle()

MODULE = Pidgin::Debug  PACKAGE = Pidgin::Debug::Window  PREFIX = pidgin_debug_window_
PROTOTYPES: ENABLE

void
pidgin_debug_window_show()

void
pidgin_debug_window_hide()

mercurial