Mercurial > pidgin
view plugins/perl/common/Debug.xs @ 13650:562ad7cc2d29
[gaim-migrate @ 16051]
Fix Coverity CIDs 53 and 54: A possible memleak. I don't think
this ever actually happens--it would require that the server
send the same piece of information twice in a given packet.
But this is better coding.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 18 Apr 2006 00:03:57 +0000 |
| parents | 60b863ecd89b |
| children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Debug PACKAGE = Gaim::Debug PREFIX = gaim_debug_ PROTOTYPES: ENABLE void gaim_debug(level, category, string) Gaim::DebugLevel level const char *category const char *string void gaim_debug_misc(category, string) const char *category const char *string void gaim_debug_info(category, string) const char *category const char *string void gaim_debug_warning(category, string) const char *category const char *string void gaim_debug_error(category, string) const char *category const char *string void gaim_debug_fatal(category, string) const char *category const char *string void gaim_debug_set_enabled(enabled) gboolean enabled gboolean gaim_debug_is_enabled()
