pidgin: 26d70896: jabber: --leaks
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon Apr 19 12:10:58 EDT 2010
-----------------------------------------------------------------
Revision: 26d70896cd8469bcc0d8be24879fe0a43c10d163
Ancestor: e8d0f65afa1697a579f40a67aa98f8a8fa4523f0
Author: darkrain42 at pidgin.im
Date: 2010-04-18T19:10:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/26d70896cd8469bcc0d8be24879fe0a43c10d163
Modified files:
libpurple/protocols/jabber/jabber.c
ChangeLog:
jabber: --leaks
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c dc2f099ed70eafd5101c568e2f700ab816eb2ccb
+++ libpurple/protocols/jabber/jabber.c b31e6bc045c48b22aed184632c562424cb0dfb26
@@ -842,6 +842,7 @@ jabber_stream_new(PurpleAccount *account
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_INVALID_SETTINGS,
_("Invalid XMPP ID"));
+ g_free(user);
/* Destroying the connection will free the JabberStream */
return NULL;
}
@@ -850,6 +851,7 @@ jabber_stream_new(PurpleAccount *account
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_INVALID_SETTINGS,
_("Invalid XMPP ID. Username portion must be set."));
+ g_free(user);
/* Destroying the connection will free the JabberStream */
return NULL;
}
@@ -858,6 +860,7 @@ jabber_stream_new(PurpleAccount *account
purple_connection_error_reason(gc,
PURPLE_CONNECTION_ERROR_INVALID_SETTINGS,
_("Invalid XMPP ID. Domain must be set."));
+ g_free(user);
/* Destroying the connection will free the JabberStream */
return NULL;
}
More information about the Commits
mailing list