diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-05-20 12:40:13 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-05-28 09:24:28 +1000 |
commit | 4c216242404d749b9ae8ec181146689f89119cb4 (patch) | |
tree | 0594a5f1410e608e370a5a88e3c10657fafc6342 /src/draglock.c | |
parent | 6e244b109861d6f602066cac8b766a55a5016c63 (diff) |
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 <peter.hutterer@who-t.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'src/draglock.c')
-rw-r--r-- | src/draglock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |