cpw.malu.xmpp.jingle_ft: 18ee2083: Remove a leak
malu at pidgin.im
malu at pidgin.im
Sat May 2 03:55:27 EDT 2009
-----------------------------------------------------------------
Revision: 18ee20836f032092bac7276f458868160c4850e5
Ancestor: f80e73093f4cb3555cff59dde0664e456c3d3665
Author: malu at pidgin.im
Date: 2009-05-02T07:52:02
Branch: im.pidgin.cpw.malu.xmpp.jingle_ft
URL: http://d.pidgin.im/viewmtn/revision/info/18ee20836f032092bac7276f458868160c4850e5
Modified files:
libpurple/protocols/jabber/jingle/s5b.c
ChangeLog:
Remove a leak
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jingle/s5b.c 862158f04c9cecebf383d48d445efd0836900641
+++ libpurple/protocols/jabber/jingle/s5b.c 0c2d4a3b76ef1799c23e07641919590c8a7d401c
@@ -515,7 +515,9 @@ jingle_s5b_send_read_again_resp_cb(gpoin
{
JingleS5B *s5b = ((JingleS5BConnectData *) data)->s5b;
int len;
-
+
+ g_free(data);
+
purple_debug_info("jingle-s5b", "in jingle_s5b_send_read_again_cb\n");
len = write(source, s5b->priv->rxqueue + s5b->priv->rxlen,
s5b->priv->rxmaxlen - s5b->priv->rxlen);
@@ -549,8 +551,6 @@ jingle_s5b_send_read_again_resp_cb(gpoin
/* set the local fd as connected */
s5b->priv->local_fd = source;
s5b->priv->is_remote_connected = TRUE;
-
- g_free(data);
}
static void
More information about the Commits
mailing list