summaryrefslogtreecommitdiff
path: root/xkb/ddxList.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-01-15 15:32:09 +1000
committerKeith Packard <keithp@keithp.com>2010-01-25 09:24:31 +1300
commitea1de3fcdc40d2060bb6d13775005eadd624e767 (patch)
tree277129a182d09d7996dabf52ce1fbe3f247d28aa /xkb/ddxList.c
parent0f2d297dedeff8bd227df4c498cc668b0e902344 (diff)
xkb: remove _XkbTyped*alloc
Please no extension-specific macros for memory allocation. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xkb/ddxList.c')
-rw-r--r--xkb/ddxList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/ddxList.c b/xkb/ddxList.c
index 3ff3d81b4..bf4931127 100644
--- a/xkb/ddxList.c
+++ b/xkb/ddxList.c
@@ -97,7 +97,7 @@ char * tmp;
if ((list->szPool-list->nPool)<wlen) {
if (wlen>1024) list->szPool+= XkbPaddedSize(wlen*2);
else list->szPool+= 1024;
- list->pool= _XkbTypedRealloc(list->pool,list->szPool,char);
+ list->pool= xrealloc(list->pool, list->szPool * sizeof(char));
if (!list->pool)
return BadAlloc;
}