summaryrefslogtreecommitdiff
path: root/listing.c
diff options
context:
space:
mode:
Diffstat (limited to 'listing.c')
-rw-r--r--listing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/listing.c b/listing.c
index 92246e2..b747482 100644
--- a/listing.c
+++ b/listing.c
@@ -311,7 +311,7 @@ AddDirectory(char *head, char *ptrn, char *rest, char *map)
if (ptrn && (!XkbNameMatchesPattern(filename, ptrn)))
continue;
tmpsize = (head ? strlen(head) : 0) + strlen(filename) + 2;
- tmp = uAlloc(tmpsize);
+ tmp = malloc(tmpsize);
if (!tmp)
continue;
snprintf(tmp, tmpsize, "%s%s%s",