summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-10 10:10:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-25 13:04:39 +1000
commiteab975ab3e576a6d223df07f0d9501e7bed317f0 (patch)
tree6ca227abfd6029807af348a70d5ae94b9af9c5c3 /src
parenta48b52684e184cac7979247c4a5af4250a9aa809 (diff)
Remove libc wrapper usage for xcalloc, xfree, etc.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/acecad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acecad.c b/src/acecad.c
index 2c2ff27..97d475a 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -332,7 +332,7 @@ static InputInfoPtr
AceCadPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
{
InputInfoPtr local = xf86AllocateInput(drv, 0);
- AceCadPrivatePtr priv = xcalloc (1, sizeof(AceCadPrivateRec));
+ AceCadPrivatePtr priv = calloc (1, sizeof(AceCadPrivateRec));
int speed;
int msgtype;
char *s;
@@ -487,7 +487,7 @@ SetupProc_fail:
if ((priv) && (priv->buffer))
XisbFree (priv->buffer);
if (priv) {
- xfree (priv);
+ free (priv);
if (local)
local->private = NULL;
}