/pidgin/main: b788e0305cc0: Fix memory leak in recursive URL par...

dequis <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: b788e0305cc0c50b8313f32a9a7b7d10c0879c6b
Author:	 dequis <[email protected]
Date:	 2015-11-07 13:35 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/b788e0305cc0

Description:

Fix memory leak in recursive URL parsing

diffstat:

 libpurple/util.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/util.c b/libpurple/util.c
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -3658,6 +3658,7 @@ parse_redirect(const char *data, gsize d
 		purple_util_fetch_url_error(gfud,
 				_("Could not open %s: Redirected too many times"),
 				gfud->url);
+		g_free(new_url);
 		return TRUE;
 	}
 

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.