[telepathy-account-widgets] Free TpawProtocol::service_name in finalize()



commit 40982eec883c2c2c729915dd408b90c902a06710
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Mon Jul 27 23:27:25 2015 +0200

    Free TpawProtocol::service_name in finalize()
    
    It will be leaked otherwise.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=752938

 tp-account-widgets/tpaw-protocol.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tp-account-widgets/tpaw-protocol.c b/tp-account-widgets/tpaw-protocol.c
index e397377..af8bb29 100644
--- a/tp-account-widgets/tpaw-protocol.c
+++ b/tp-account-widgets/tpaw-protocol.c
@@ -247,6 +247,7 @@ tpaw_protocol_finalize (GObject *object)
 
   g_clear_object (&self->priv->cm);
   g_free (self->priv->protocol_name);
+  g_free (self->priv->service_name);
   g_free (self->priv->display_name);
   g_free (self->priv->icon_name);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]