diff options
author | marha <marha@users.sourceforge.net> | 2010-05-25 06:29:35 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-25 06:29:35 +0000 |
commit | 74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58 (patch) | |
tree | 048118dcd2890da83b03e7842885c29014b2a037 /xorg-server/mi/midispcur.c | |
parent | 23e2ddeb0f81d5ee9c6d01cf0b768eeb1c27555c (diff) | |
download | vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.tar.gz vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.tar.bz2 vcxsrv-74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58.zip |
xserver git update 25/5/2010
Diffstat (limited to 'xorg-server/mi/midispcur.c')
-rw-r--r-- | xorg-server/mi/midispcur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/mi/midispcur.c b/xorg-server/mi/midispcur.c index d8fe26ada..8b26765a8 100644 --- a/xorg-server/mi/midispcur.c +++ b/xorg-server/mi/midispcur.c @@ -742,7 +742,7 @@ miDCDeviceInitialize(DeviceIntPtr pDev, ScreenPtr pScreen) {
pScreen = screenInfo.screens[i];
- pBuffer = malloc(sizeof(miDCBufferRec));
+ pBuffer = calloc(1, sizeof(miDCBufferRec));
if (!pBuffer)
goto failure;
|