[X2Go-Commits] [libx2goclient] 03/18: src/test/sshtest.c: clean up object.
git-admin at x2go.org
git-admin at x2go.org
Mon Aug 19 15:47:02 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit cd02b5524e0f55337b19e79cf614547f831858ef
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Aug 19 11:00:49 2019 +0200
src/test/sshtest.c: clean up object.
---
src/test/sshtest.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/sshtest.c b/src/test/sshtest.c
index 571c379..10173fd 100644
--- a/src/test/sshtest.c
+++ b/src/test/sshtest.c
@@ -68,5 +68,7 @@ int main (int argc, char **argv) {
gboolean conn_ret = x2goclient_network_ssh_connect (net_ssh);
g_printf ("Connection status: %s.\n", (conn_ret) ? "true" : "false");
+ g_clear_object (&net_ssh);
+
return (ret);
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
More information about the x2go-commits
mailing list