This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.

commit f688e32f3bba221ad64f0976b939a6e6577b2517
Author: Mihai Moldovan <io...@ionic.de>
Date:   Sun Mar 18 06:52:03 2018 +0100

    nx-X11/programs/Xserver/hw/nxagent/Utils.h: add SAFE_FREE macro.
---
 nx-X11/programs/Xserver/hw/nxagent/Utils.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Utils.h 
b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
index 8a33354..d502da7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Utils.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Utils.h
@@ -52,4 +52,6 @@ static inline const char * validateString(const char *str) {
   return str ? str : "(null)";
 }
 
+#define SAFE_FREE(ptr) do { free(ptr); ptr = NULL; } while (0)
+
 #endif /* __Utils_H__ */

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/nx-libs.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to