/pidgin/main: 2c3efdc669c2: yahoo_filexfer.c: Fix memleak in yah...

Niels Thykier niels at thykier.net
Sun Jan 27 05:57:49 EST 2013


Changeset: 2c3efdc669c2af933570f3f851cd2bc0ad4dcec0
Author:	 Niels Thykier <niels at thykier.net>
Date:	 2013-01-26 03:45 -0500
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/2c3efdc669c2

Description:

yahoo_filexfer.c: Fix memleak in yahoo_p2p_ft_HEAD_GET_cb

Refs #15472.

diffstat:

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

diffs (11 lines):

diff --git a/libpurple/protocols/yahoo/yahoo_filexfer.c b/libpurple/protocols/yahoo/yahoo_filexfer.c
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c
@@ -1420,6 +1420,7 @@ static void yahoo_p2p_ft_HEAD_GET_cb(gpo
 		purple_debug_warning("yahoo","p2p-ft: Wrong HEAD/GET request from peer, disconnecting host\n");
 		purple_input_remove(xd->input_event);
 		purple_xfer_cancel_remote(xfer);
+		g_free(url_get);
 		g_free(url_head);
 		return;
 	}



More information about the Commits mailing list