/pidgin/main: 0343ec635650: oob.c: Fix memleak in jabber_oob_parse
Niels Thykier
niels at thykier.net
Sun Jan 27 05:57:49 EST 2013
Changeset: 0343ec63565038673f3750d6fdd19b3087cbbf6d
Author: Niels Thykier <niels at thykier.net>
Date: 2013-01-26 03:30 -0500
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/0343ec635650
Description:
oob.c: Fix memleak in jabber_oob_parse
Refs #15427.
diffstat:
libpurple/protocols/jabber/oob.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff --git a/libpurple/protocols/jabber/oob.c b/libpurple/protocols/jabber/oob.c
--- a/libpurple/protocols/jabber/oob.c
+++ b/libpurple/protocols/jabber/oob.c
@@ -211,6 +211,7 @@ void jabber_oob_parse(JabberStream *js,
jox = g_new0(JabberOOBXfer, 1);
if (!purple_url_parse(url, &jox->address, &jox->port, &jox->page, NULL, NULL)) {
g_free(url);
+ g_free(jox);
return;
}
g_free(url);
More information about the Commits
mailing list