diff options
author | Egbert Eich <eich@suse.de> | 2004-04-15 10:15:04 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-04-15 10:15:04 +0000 |
commit | 8841745a5febd8307674f66317b674b0fe0972a9 (patch) | |
tree | 662822f3b39f458de1cb2e80d2ecebfd9f430d73 /src/XGetProp.c | |
parent | f1be04c808090763c1414b5f08b7b347498d2703 (diff) |
Merged changes from RELEASE-1 branchbefore_20040421_xprint_branch_landingXORG-CURRENT-CLOSEDXORG-CURRENT
Diffstat (limited to 'src/XGetProp.c')
-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; |