Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.c @ 28438:c3be1de8abde
jabber: Oops. --leaks.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 26 Oct 2009 03:41:22 +0000 |
parents | a335d1bab20e |
children | 562fd22dbe89 e3206d6da6c7 40b523845a6e 2702ca44d963 |
comparison
equal
deleted
inserted
replaced
28437:abb5343ec701 | 28438:c3be1de8abde |
---|---|
1823 { | 1823 { |
1824 while (jabber_features) { | 1824 while (jabber_features) { |
1825 JabberFeature *feature = jabber_features->data; | 1825 JabberFeature *feature = jabber_features->data; |
1826 g_free(feature->namespace); | 1826 g_free(feature->namespace); |
1827 g_free(feature); | 1827 g_free(feature); |
1828 jabber_features = g_list_remove_link(jabber_features, jabber_features); | 1828 jabber_features = g_list_delete_link(jabber_features, jabber_features); |
1829 } | 1829 } |
1830 } | 1830 } |
1831 | 1831 |
1832 void jabber_add_identity(const gchar *category, const gchar *type, const gchar *lang, const gchar *name) { | 1832 void jabber_add_identity(const gchar *category, const gchar *type, const gchar *lang, const gchar *name) { |
1833 GList *identity; | 1833 GList *identity; |
1860 g_free(id->category); | 1860 g_free(id->category); |
1861 g_free(id->type); | 1861 g_free(id->type); |
1862 g_free(id->lang); | 1862 g_free(id->lang); |
1863 g_free(id->name); | 1863 g_free(id->name); |
1864 g_free(id); | 1864 g_free(id); |
1865 jabber_identities = g_list_remove_link(jabber_identities, jabber_identities); | 1865 jabber_identities = g_list_delete_link(jabber_identities, jabber_identities); |
1866 } | 1866 } |
1867 } | 1867 } |
1868 | 1868 |
1869 gboolean jabber_stream_is_ssl(JabberStream *js) | 1869 gboolean jabber_stream_is_ssl(JabberStream *js) |
1870 { | 1870 { |