Mercurial > pidgin
view plugins/perl/common/Signal.xs @ 13438:068282089843
[gaim-migrate @ 15813]
Resolves CID 69:
298 data = plugin->extra;
299
Event deref_ptr: Directly dereferenced pointer "data"
300 g_hash_table_remove(tcl_plugins, (gpointer)(data->interp));
Event check_after_deref: Pointer "data" dereferenced before NULL check
301 if (data != NULL) {
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 07:23:04 +0000 |
parents | 60b863ecd89b |
children |
line wrap: on
line source
#include "module.h" #include "../perl-handlers.h" MODULE = Gaim::Signal PACKAGE = Gaim::Signal PREFIX = gaim_signal_ PROTOTYPES: ENABLE void gaim_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) void *instance const char *signal Gaim::Plugin plugin SV *callback int priority SV *data CODE: gaim_perl_signal_connect(plugin, instance, signal, callback, data, priority); void gaim_signal_connect(instance, signal, plugin, callback, data = 0) void *instance const char *signal Gaim::Plugin plugin SV *callback SV *data CODE: gaim_perl_signal_connect(plugin, instance, signal, callback, data, GAIM_SIGNAL_PRIORITY_DEFAULT); void gaim_signal_disconnect(instance, signal, plugin) void *instance const char *signal Gaim::Plugin plugin CODE: gaim_perl_signal_disconnect(plugin, instance, signal);