diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-07-02 21:21:12 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-07-02 21:21:12 +0000 |
commit | 03ca6454c6f9e295aee37011c0fe60f13035f4a2 (patch) | |
tree | 030ed04dc2918de83a9f924114a9e5ce885f8c1a /lib/libXi/src/XExtInt.c | |
parent | cd1eee6d3c3faa5d024f0e10a0141cab9991cf66 (diff) |
Update to libXi 1.4.3.
This contains more doc fixes and a few more bug fixes.
Diffstat (limited to 'lib/libXi/src/XExtInt.c')
-rw-r--r-- | lib/libXi/src/XExtInt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libXi/src/XExtInt.c b/lib/libXi/src/XExtInt.c index d1451cc41..134ccc67c 100644 --- a/lib/libXi/src/XExtInt.c +++ b/lib/libXi/src/XExtInt.c @@ -1259,7 +1259,7 @@ copyRawEvent(XGenericEventCookie *cookie_in, len = sizeof(XIRawEvent) + in->valuators.mask_len; len += bits * sizeof(double) * 2; - ptr = cookie_out->data = malloc(sizeof(XIRawEvent)); + ptr = cookie_out->data = malloc(len); if (!ptr) return False; |