Mercurial > pidgin
view plugins/perl/common/Stringref.xs @ 13652:a07dcc2c01bd
[gaim-migrate @ 16053]
Fix Coverity CID 42: Possible NULL pointer dereference when the server
does not give us a cookie in their reply to our login response. This
should never happen.
Fix Coverity CID 43 and 44: Possible NULL pointer dereference. Technically
not possible... but the code is cleaner and faster this way.
Fix Coverity CID 58: Fix a memleak of two small strings totaling about
10 bytes when parsing most incoming chat messages (not IM--just chat)
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 18 Apr 2006 04:03:18 +0000 |
| parents | 96f9b4798012 |
| children |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Stringref PACKAGE = Gaim::Stringref PREFIX = gaim_stringref_ PROTOTYPES: ENABLE int gaim_stringref_cmp(s1, s2) Gaim::Stringref s1 Gaim::Stringref s2 size_t gaim_stringref_len(stringref) Gaim::Stringref stringref Gaim::Stringref gaim_stringref_new(class, value) const char *value C_ARGS: value Gaim::Stringref gaim_stringref_new_noref(class, value) const char *value C_ARGS: value Gaim::Stringref gaim_stringref_ref(stringref) Gaim::Stringref stringref void gaim_stringref_unref(stringref) Gaim::Stringref stringref const char * gaim_stringref_value(stringref) Gaim::Stringref stringref
