diff options
author | marha <marha@users.sourceforge.net> | 2010-05-25 08:57:48 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-05-25 08:57:48 +0000 |
commit | 4d1b98ace5efb02c14c7a4e36fc2698a1e00b66f (patch) | |
tree | 456b739c6aed0350fa1f1faa5e48c00d6aa8c186 /xorg-server/mi | |
parent | 33b487abbf3fa5c2798f7a753607fb227878e119 (diff) | |
parent | 74fa9a70a4817660f1c2ec3b3cc2bbe56db4fc58 (diff) | |
download | vcxsrv-4d1b98ace5efb02c14c7a4e36fc2698a1e00b66f.tar.gz vcxsrv-4d1b98ace5efb02c14c7a4e36fc2698a1e00b66f.tar.bz2 vcxsrv-4d1b98ace5efb02c14c7a4e36fc2698a1e00b66f.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/mi')
-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;
|