[X2Go-Commits] [libx2goclient] 12/13: src/x2goclient-openssh-version.c: set free'd variables to NULL for good measure.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 27 14:42:21 CEST 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit 7ce884dcd01d1cae8c01fe808cfb938f23657836
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jun 27 14:37:52 2020 +0200
src/x2goclient-openssh-version.c: set free'd variables to NULL for good measure.
---
src/x2goclient-openssh-version.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/x2goclient-openssh-version.c b/src/x2goclient-openssh-version.c
index ed526d7..0b10ab6 100644
--- a/src/x2goclient-openssh-version.c
+++ b/src/x2goclient-openssh-version.c
@@ -515,7 +515,9 @@ X2GoClientOpenSSHVersion* x2goclient_openssh_version_fetch_openssh_version (GErr
g_free (ssh_stderr_str_sanitized);
g_bytes_unref (ssh_stdout);
+ ssh_stdout = NULL;
g_bytes_unref (ssh_stderr);
+ ssh_stderr = NULL;
}
g_clear_object (&ssh_proc_comm_cancel);
--
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