From 265ea3a77418df2744575f1168f89a33f01e72d4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 10 Dec 2022 13:39:10 -0800 Subject: Replace uAlloc() and uTypedAlloc() with direct malloc() calls All these wrappers did was mess with types. Signed-off-by: Alan Coopersmith --- xkbpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xkbpath.c') diff --git a/xkbpath.c b/xkbpath.c index dc9a1df..0310872 100644 --- a/xkbpath.c +++ b/xkbpath.c @@ -321,7 +321,7 @@ XkbAddFileToCache(char *name, unsigned type, char *path, void *data) return old; } } - entry = uTypedAlloc(FileCacheEntry); + entry = malloc(sizeof(FileCacheEntry)); if (entry != NULL) { *entry = (FileCacheEntry) { -- cgit v1.2.3