From b0c1cc8b72ceaf9ddfca8481f2c72a11dfa3c26a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 6 Oct 2014 21:22:33 -0500 Subject: Ensure the proxy is still cleared so we don't leak them --- src/im-accounts-service.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/im-accounts-service.c b/src/im-accounts-service.c index dc80826..3f9e5f8 100644 --- a/src/im-accounts-service.c +++ b/src/im-accounts-service.c @@ -136,6 +136,8 @@ security_privacy_ready (GObject * obj, GAsyncResult * res, gpointer user_data) } ImAccountsServicePrivate * priv = IM_ACCOUNTS_SERVICE_GET_PRIVATE(user_data); + /* Ensure we didn't get a proxy while we weren't looking */ + g_clear_object(&priv->touch_settings); priv->touch_settings = proxy; } -- cgit v1.2.3