summaryrefslogtreecommitdiff
path: root/AuDispose.c
diff options
context:
space:
mode:
Diffstat (limited to 'AuDispose.c')
-rw-r--r--AuDispose.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/AuDispose.c b/AuDispose.c
index 791232a..a449390 100644
--- a/AuDispose.c
+++ b/AuDispose.c
@@ -40,6 +40,8 @@ XauDisposeAuth (Xauth *auth)
if (auth->data) {
#ifdef HAVE_EXPLICIT_BZERO
(void) explicit_bzero (auth->data, auth->data_length);
+#elif HAVE_EXPLICIT_MEMSET
+ (void) explicit_memset (auth->data, 0, auth->data_length);
#else
(void) bzero (auth->data, auth->data_length);
#endif