# HG changeset patch # User Christian Hammond # Date 1054629852 0 # Node ID e42535701e25dd803fb7dd14d9a7f9f3942b48b5 # Parent 2d0d96c5a7a79d45bd4adc5da1796e08f07ffed6 [gaim-migrate @ 6116] GaimAccount now has ownership of a GaimProxyInfo. When a new one is set, the old one is destroyed. committer: Tailor Script diff -r 2d0d96c5a7a7 -r e42535701e25 src/account.c --- a/src/account.c Tue Jun 03 07:44:42 2003 +0000 +++ b/src/account.c Tue Jun 03 08:44:12 2003 +0000 @@ -302,6 +302,9 @@ { g_return_if_fail(account != NULL); + if (account->proxy_info != NULL) + gaim_proxy_info_destroy(account->proxy_info); + account->proxy_info = info; schedule_accounts_save();