[balsa/wip/gtk4] net-client-smtp: Do not free priv



commit e267b09ecd4415f669789f7d9561645056479126
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Jul 4 16:58:39 2018 -0400

    net-client-smtp: Do not free priv

 libnetclient/net-client-smtp.c | 15 ---------------
 1 file changed, 15 deletions(-)
---
diff --git a/libnetclient/net-client-smtp.c b/libnetclient/net-client-smtp.c
index fc74779d7..9fa1f07fe 100644
--- a/libnetclient/net-client-smtp.c
+++ b/libnetclient/net-client-smtp.c
@@ -60,7 +60,6 @@ G_DEFINE_TYPE_WITH_PRIVATE(NetClientSmtp, net_client_smtp, NET_CLIENT_TYPE)
 
 
 static void net_client_smtp_dispose(GObject *object);
-static void net_client_smtp_finalise(GObject *object);
 static gboolean net_client_smtp_ehlo(NetClientSmtp *client, guint *auth_supported, gboolean *can_starttls, 
GError **error);
 static gboolean net_client_smtp_starttls(NetClientSmtp *client, GError **error);
 static gboolean net_client_smtp_execute(NetClientSmtp *client, const gchar *request_fmt, gchar **last_reply, 
GError **error, ...)
@@ -352,7 +351,6 @@ net_client_smtp_class_init(NetClientSmtpClass *klass)
        GObjectClass *gobject_class = G_OBJECT_CLASS(klass);
 
        gobject_class->dispose  = net_client_smtp_dispose;
-       gobject_class->finalize = net_client_smtp_finalise;
 }
 
 
@@ -385,19 +383,6 @@ net_client_smtp_dispose(GObject *object)
 }
 
 
-static void
-net_client_smtp_finalise(GObject *object)
-{
-       NetClientSmtp *client = NET_CLIENT_SMTP(object);
-        NetClientSmtpPrivate *priv = net_client_smtp_get_instance_private(client);
-       const GObjectClass *parent_class = G_OBJECT_CLASS(net_client_smtp_parent_class);
-
-       g_free(priv);
-
-       parent_class->finalize(object);
-}
-
-
 static gboolean
 net_client_smtp_starttls(NetClientSmtp *client, GError **error)
 {


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