cpw.malu.xmpp.google_ft: 76f55b59: Fix double-free bug in google vv relay h...
malu at pidgin.im
malu at pidgin.im
Thu Nov 11 16:55:42 EST 2010
----------------------------------------------------------------------
Revision: 76f55b59249ff792713d4dfc5d19e7bddcbfd6eb
Parent: 9e47c75ecbf7adf1c1f0cc0409300d37b163a16e
Author: malu at pidgin.im
Date: 11/11/10 16:54:32
Branch: im.pidgin.cpw.malu.xmpp.google_ft
URL: http://d.pidgin.im/viewmtn/revision/info/76f55b59249ff792713d4dfc5d19e7bddcbfd6eb
Changelog:
Fix double-free bug in google vv relay handling
Changes against parent 9e47c75ecbf7adf1c1f0cc0409300d37b163a16e
patched libpurple/protocols/jabber/google/google_av.c
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google/google_av.c 7ba30b9783fd623677a1be8c2e260cb426926993
+++ libpurple/protocols/jabber/google/google_av.c 12fe81ef71059b1c1c3d372f169f2cc70eefed90
@@ -520,7 +520,7 @@ jabber_google_relay_response_av_initiate
params =
jabber_google_av_get_params(js, relay_ip, relay_udp, relay_tcp,
relay_ssltcp, relay_username, relay_password, &num_params);
-
+
if (purple_media_add_stream(session_data->media, "google-voice",
session->remote_jid, PURPLE_MEDIA_AUDIO,
TRUE, "nice", num_params, params) == FALSE ||
@@ -530,7 +530,6 @@ jabber_google_relay_response_av_initiate
TRUE, "nice", num_params, params) == FALSE)) {
purple_media_error(session_data->media, "Error adding stream.");
purple_media_end(session_data->media, NULL, NULL);
- g_free(params);
} else {
session_data->added_streams = TRUE;
}
More information about the Commits
mailing list