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/emuWheel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emuWheel.c') diff --git a/src/emuWheel.c b/src/emuWheel.c index 35e6931..9a53211 100644 --- a/src/emuWheel.c +++ b/src/emuWheel.c @@ -233,12 +233,12 @@ EvdevWheelEmuHandleButtonMap(InputInfoPtr pInfo, WheelAxisPtr pAxis, char* axis_ xf86Msg(X_WARNING, "%s: Invalid %s value:\"%s\"\n", pInfo->name, axis_name, option_string); } - xfree(option_string); + free(option_string); /* Clean up and log what happened */ if (msg) { xf86Msg(X_CONFIG, "%s: %s: %s\n",pInfo->name, axis_name, msg); - xfree(msg); + free(msg); return TRUE; } } -- cgit v1.2.3