From ea1de3fcdc40d2060bb6d13775005eadd624e767 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 15 Jan 2010 15:32:09 +1000 Subject: xkb: remove _XkbTyped*alloc Please no extension-specific macros for memory allocation. Signed-off-by: Peter Hutterer Reviewed-by: Dan Nicholson Signed-off-by: Keith Packard --- xkb/xkbEvents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xkb/xkbEvents.c') diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 8fb49c1d8..58f75b306 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -1041,7 +1041,7 @@ XkbInterestPtr interest; return ((interest->resource==id)?interest:NULL); interest = interest->next; } - interest = _XkbTypedAlloc(XkbInterestRec); + interest = xalloc(sizeof(XkbInterestRec)); bzero(interest,sizeof(XkbInterestRec)); if (interest) { interest->dev = dev; -- cgit v1.2.3