summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xkb/ddxLoad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xkb/ddxLoad.c b/xkb/ddxLoad.c
index 6f692ab34..ffccafefa 100644
--- a/xkb/ddxLoad.c
+++ b/xkb/ddxLoad.c
@@ -180,6 +180,7 @@ RunXkbComp(xkbcomp_buffer_callback callback, void *userdata)
#else
out = fopen(tmpname, "w");
+ buf = realloc(buf, strlen(buf) + strlen(stderrfile) + 8);
strcat(buf, " >");
strcat(buf, stderrfile);
strcat(buf, " 2>&1");