summaryrefslogtreecommitdiff
path: root/hw/xwin/winauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/winauth.c')
-rw-r--r--hw/xwin/winauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xwin/winauth.c b/hw/xwin/winauth.c
index f4c400582..f0eec0446 100644
--- a/hw/xwin/winauth.c
+++ b/hw/xwin/winauth.c
@@ -150,7 +150,7 @@ winGenerateAuthorization (void)
#ifdef XCSECURITY
/* Allocate structure for additional auth information */
pAuth = (SecurityAuthorizationPtr)
- xalloc (sizeof (SecurityAuthorizationRec));
+ malloc(sizeof (SecurityAuthorizationRec));
if (!(pAuth))
{
ErrorF ("winGenerateAuthorization - Failed allocating "
@@ -186,7 +186,7 @@ winGenerateAuthorization (void)
auth_bailout:
if (fFreeAuth)
- xfree (pAuth);
+ free(pAuth);
return FALSE;
}