g_free() to auto_gfree, introduce auto_guchar
Fix 11 potential mem leaks in theme.c
This commit is contained in:
@@ -380,7 +380,7 @@ void stanza_attach_show(xmpp_ctx_t* const ctx, xmpp_stanza_t* const presence, co
|
||||
void stanza_attach_status(xmpp_ctx_t* const ctx, xmpp_stanza_t* const presence, const char* const status);
|
||||
|
||||
xmpp_stanza_t* stanza_create_caps_query_element(xmpp_ctx_t* ctx);
|
||||
char* stanza_create_caps_sha1_from_query(xmpp_stanza_t* const query);
|
||||
gchar* stanza_create_caps_sha1_from_query(xmpp_stanza_t* const query);
|
||||
EntityCapabilities* stanza_create_caps_from_query_element(xmpp_stanza_t* query);
|
||||
|
||||
const char* stanza_get_presence_string_from_type(resource_presence_t presence_type);
|
||||
|
||||
Reference in New Issue
Block a user