pidgin: f6f182a6: disapproval of revision 'd5ef30aafa0c0ec...
markdoliner at pidgin.im
markdoliner at pidgin.im
Wed Mar 5 13:21:12 EST 2008
-----------------------------------------------------------------
Revision: f6f182a65daf42e9f1e50f409e9d965119d3932f
Ancestor: d5ef30aafa0c0ecff773017ab7ac542f9ba7b4b4
Author: markdoliner at pidgin.im
Date: 2008-03-05T18:11:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f6f182a65daf42e9f1e50f409e9d965119d3932f
Modified files:
libpurple/proxy.c
ChangeLog:
disapproval of revision 'd5ef30aafa0c0ecff773017ab7ac542f9ba7b4b4'
-------------- next part --------------
============================================================
--- libpurple/proxy.c 9abf282dcfa5e1d8478ffd47ae6e200e87003af0
+++ libpurple/proxy.c 45e4aac50312fd1e9ef984a960f6ec0b93a071ce
@@ -233,6 +233,20 @@ purple_gnome_proxy_get_info(void)
g_free(tmp);
info.type = PURPLE_PROXY_HTTP;
+ /* Free the old fields */
+ if (info.host) {
+ g_free(info.host);
+ info.host = NULL;
+ }
+ if (info.username) {
+ g_free(info.username);
+ info.username = NULL;
+ }
+ if (info.password) {
+ g_free(info.password);
+ info.password = NULL;
+ }
+
/* Get the new ones */
if (!g_spawn_command_line_sync("gconftool-2 -g /system/http_proxy/host", &info.host,
NULL, NULL, NULL))
More information about the Commits
mailing list