[X2Go-Commits] [libx2goclient] 04/11: src/x2goclient-utils.{c, h}: add helper for clearing string data.
git-admin at x2go.org
git-admin at x2go.org
Sat Aug 31 23:29: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 1b1745bd7160faf368c6b1812db5f0447ce8760f
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Aug 31 19:57:25 2019 +0200
src/x2goclient-utils.{c,h}: add helper for clearing string data.
---
src/x2goclient-utils.c | 4 ++++
src/x2goclient-utils.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c
index 501e29b..ccdd82c 100644
--- a/src/x2goclient-utils.c
+++ b/src/x2goclient-utils.c
@@ -27,3 +27,7 @@
#endif
#include "x2goclient-utils.h"
+
+void x2goclient_clear_strings (gpointer data) {
+ g_free (data);
+}
diff --git a/src/x2goclient-utils.h b/src/x2goclient-utils.h
index fb6efc3..0959a32 100644
--- a/src/x2goclient-utils.h
+++ b/src/x2goclient-utils.h
@@ -29,6 +29,7 @@
G_BEGIN_DECLS
+void x2goclient_clear_strings (gpointer data);
G_END_DECLS
--
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