From 3552bfe2ff14a9107fcac8e767b83d0c30d0c72d Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Thu, 18 Mar 2004 12:00:23 +0000 Subject: merge with XORG-RELEASE-1 --- src/XGetProp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3