This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient. commit 049582980e7760482aed6e33b61bd898e3abb4ed Author: Mihai Moldovan <ionic@ionic.de> Date: Mon Aug 19 10:57:17 2019 +0200 src/x2goclient-network.c: implement destruction phase. --- src/x2goclient-network.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/x2goclient-network.c b/src/x2goclient-network.c index 2461bee..14e48b5 100644 --- a/src/x2goclient-network.c +++ b/src/x2goclient-network.c @@ -159,3 +159,21 @@ static void x2goclient_network_class_init (X2GoClientNetworkClass *klass) { static void x2goclient_network_init (X2GoClientNetwork *self) { X2GoClientNetworkPrivate *priv = x2goclient_network_get_instance_private (self); } + +static void x2goclient_network_dispose (GObject *object) { + X2GoClientNetworkPrivate *priv = x2goclient_network_get_instance_private (X2GOCLIENT_NETWORK (object)); + + g_clear_object (&priv->socket); + g_clear_object (&priv->options); + + (G_OBJECT_CLASS (x2goclient_network_parent_class))->dispose (object); +} + +static void x2goclient_network_finalize (GObject *object) { + X2GoClientNetworkPrivate *priv = x2goclient_network_get_instance_private (X2GOCLIENT_NETWORK (object)); + + g_string_free (priv->socket_spec, TRUE); + priv->socket_spec = NULL; + + (G_OBJECT_CLASS (x2goclient_network_parent_class))->finalize (object); +} -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git