# HG changeset patch # User Mark Doliner # Date 1204710016 0 # Node ID c5a3a92255f58a030c78c882582add97621b81a3 # Parent 0c098ebe9f16e682a32e8cc7d5910665c78d7d85 These things are always NULL, so these if statements are never triggered diff -r 0c098ebe9f16 -r c5a3a92255f5 libpurple/proxy.c --- a/libpurple/proxy.c Wed Mar 05 00:26:44 2008 +0000 +++ b/libpurple/proxy.c Wed Mar 05 09:40:16 2008 +0000 @@ -233,20 +233,6 @@ 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))