diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-18 12:00:23 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-18 12:00:23 +0000 |
commit | 3552bfe2ff14a9107fcac8e767b83d0c30d0c72d (patch) | |
tree | 662822f3b39f458de1cb2e80d2ecebfd9f430d73 | |
parent | acef27cf84f982c61a5c3db85b743f21a6538d65 (diff) |
merge with XORG-RELEASE-1CYGWIN-RELEASE-1-MERGECYGWIN-PRE-6_8_0-MERGECYGWIN-HEAD-MERGECYGWIN-HEAD-LAST-MERGECYGWIN-6_8_2-MERGECYGWIN-6_8_1-MERGECYGWIN-6_8_0-MERGECYGWIN
-rw-r--r-- | src/XGetProp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XGetProp.c b/src/XGetProp.c index 8560108..ed5a2d1 100644 --- a/src/XGetProp.c +++ b/src/XGetProp.c @@ -93,7 +93,7 @@ XEventClass if (*count) { rlen = rep.length << 2; - list = (XEventClass *) Xmalloc (rlen); + list = (XEventClass *) Xmalloc (rep.length * sizeof(XEventClass)); if (list) { int i; |