im.pidgin.cpw.khc.msnp14.soap: 1d7d51174ae87c7f03bb1290a8e447bf2a1704a5
khc at pidgin.im
khc at pidgin.im
Wed Oct 3 01:11:25 EDT 2007
revision: 1d7d51174ae87c7f03bb1290a8e447bf2a1704a5
date: 2007-10-03T05:05:35
author: khc at pidgin.im
branch: im.pidgin.cpw.khc.msnp14.soap
changelog:
fix a memleak or 2
manifest:
format_version "1"
new_manifest [f03b6df4b516e1347e19ade828680f88adf8ba80]
old_revision [286d7c2b8dac3004830fd9dcc04bdd21d257c024]
patch "libpurple/protocols/msn/notification.c"
from [f71d64733af736ac226e1e80a31097abb9428c59]
to [3d83b760ffcc01793e370114614c6ea9a1a21355]
patch "libpurple/protocols/msn/soap2.c"
from [b1423e7574860de85384260c757afec5993d12e6]
to [42d8d48a7da37864d2d8fce2eff8ddd65b327138]
-------------- next part --------------
#
#
# patch "libpurple/protocols/msn/notification.c"
# from [f71d64733af736ac226e1e80a31097abb9428c59]
# to [3d83b760ffcc01793e370114614c6ea9a1a21355]
#
# patch "libpurple/protocols/msn/soap2.c"
# from [b1423e7574860de85384260c757afec5993d12e6]
# to [42d8d48a7da37864d2d8fce2eff8ddd65b327138]
#
============================================================
--- libpurple/protocols/msn/notification.c f71d64733af736ac226e1e80a31097abb9428c59
+++ libpurple/protocols/msn/notification.c 3d83b760ffcc01793e370114614c6ea9a1a21355
@@ -420,9 +420,6 @@ msg_cmd(MsnCmdProc *cmdproc, MsnCommand
else
{
g_return_if_fail(cmd->payload_cb != NULL);
-
- purple_debug_info("valgrind", "MSG len: %d [%c] [%c]\n", cmd->payload_len, cmd->payload[cmd->payload_len - 2], cmd->payload[cmd->payload_len - 1]);
- purple_debug_info("MSNP14","MSG payload:{%s}\n",cmd->payload);
cmd->payload_cb(cmdproc, cmd, cmd->payload, cmd->payload_len);
}
}
============================================================
--- libpurple/protocols/msn/soap2.c b1423e7574860de85384260c757afec5993d12e6
+++ libpurple/protocols/msn/soap2.c 42d8d48a7da37864d2d8fce2eff8ddd65b327138
@@ -360,6 +360,7 @@ msn_soap_read_cb(gpointer data, gint fd,
conn->close_when_done = TRUE;
}
}
+ g_free(line);
}
loop_end:
@@ -493,6 +494,7 @@ msn_soap_connection_run(gpointer data)
msn_soap_write_cb(conn, conn->ssl->fd, PURPLE_INPUT_WRITE);
g_free(authstr);
+ g_free(body);
}
}
More information about the Commits
mailing list