summaryrefslogtreecommitdiff
path: root/xc/workInProgress/xsm/auth.c
diff options
context:
space:
mode:
authormor <empty>1994-08-17 17:43:05 +0000
committermor <empty>1994-08-17 17:43:05 +0000
commit6818ac123da4dd73a2260f4158943db234e9bf67 (patch)
treeee95e9d2a28f4d7cd42e45a10b243be99245de01 /xc/workInProgress/xsm/auth.c
parent0d6605c0401d46e680bcfc8d414bc32d3acea58a (diff)
use XtMalloc,XtFree
Diffstat (limited to 'xc/workInProgress/xsm/auth.c')
-rw-r--r--xc/workInProgress/xsm/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/workInProgress/xsm/auth.c b/xc/workInProgress/xsm/auth.c
index d99d6d170..d1585a7e8 100644
--- a/xc/workInProgress/xsm/auth.c
+++ b/xc/workInProgress/xsm/auth.c
@@ -1,4 +1,4 @@
-/* $XConsortium: auth.c,v 1.5 94/04/17 21:15:15 mor Exp $ */
+/* $XConsortium: auth.c,v 1.6 94/07/08 14:06:17 mor Exp mor $ */
/******************************************************************************
Copyright (c) 1993 X Consortium
@@ -99,7 +99,7 @@ IceAuthDataEntry **authDataEntries;
if (!(removefp = fopen (".xsm-rem-auth", "w")))
return (0);
- *authDataEntries = (IceAuthDataEntry *) malloc (
+ *authDataEntries = (IceAuthDataEntry *) XtMalloc (
count * 2 * sizeof (IceAuthDataEntry));
for (i = 0; i < count * 2; i += 2)
@@ -161,7 +161,7 @@ IceAuthDataEntry *authDataEntries;
free (authDataEntries[i].auth_data);
}
- free ((char *) authDataEntries);
+ XtFree ((char *) authDataEntries);
system ("iceauth source .xsm-rem-auth");
}