summaryrefslogtreecommitdiff
path: root/src/lx_output.c
diff options
context:
space:
mode:
authorFrank Huang <frankr.huang@amd.com>2010-09-01 10:30:35 +0800
committerMartin-Éric Racine <q-funk@iki.fi>2010-09-01 16:41:51 +0300
commit5dfe7dbf6ed122fbbb758be7a5b7d78a199583c7 (patch)
tree997b1647330b8e5b4ba7d4e8cd48685accbd7b1f /src/lx_output.c
parentfc342655a3d928759467eac8c917effe8f283031 (diff)
Replace xalloc/xrealloc/xfree/xcalloc with malloc/realloc/free/calloc
* Replace the deprecated functions with new ones Refer to "/xserver/include/os.h" Signed-off-by: Frank Huang <frankr.huang@amd.com>
Diffstat (limited to 'src/lx_output.c')
-rw-r--r--src/lx_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lx_output.c b/src/lx_output.c
index beb1634..85480a2 100644
--- a/src/lx_output.c
+++ b/src/lx_output.c
@@ -242,7 +242,7 @@ static void
lx_output_destroy(xf86OutputPtr output)
{
if (output->driver_private)
- xfree(output->driver_private);
+ free(output->driver_private);
output->driver_private = NULL;
}