From 4c216242404d749b9ae8ec181146689f89119cb4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 May 2010 12:40:13 +1000 Subject: Remove libc wrappers for malloc, calloc and free. Evdev is Linux-only, and we've had the above calls for quite a while now. Plus, now that the server has removed them they generate _a lot_ of warnings otherwise. Signed-off-by: Peter Hutterer Reviewed-by: Jamey Sharp --- src/draglock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draglock.c') diff --git a/src/draglock.c b/src/draglock.c index fad4436..af80cf6 100644 --- a/src/draglock.c +++ b/src/draglock.c @@ -146,7 +146,7 @@ EvdevDragLockPreInit(InputInfoPtr pInfo) next_num = NULL; } - xfree(option_string); + free(option_string); } /* Updates DragLock button state and fires button event messges */ -- cgit v1.2.3