mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-03 09:20:19 +01:00
kdrive: zero out fbdev screen private as its supposed to be
This commit is contained in:
parent
e0ccbaab22
commit
b814019be9
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
|||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.7 2000/09/22 06:25:08 keithp Exp $ */
|
||||
/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.9 2000/09/27 20:46:36 keithp Exp $ */
|
||||
|
||||
#include "fbdev.h"
|
||||
|
||||
|
|
@ -182,6 +182,7 @@ fbdevScreenInit (KdScreenInfo *screen)
|
|||
scrpriv = xalloc (sizeof (FbdevScrPriv));
|
||||
if (!scrpriv)
|
||||
return FALSE;
|
||||
memset (scrpriv, '\0', sizeof (FbdevScrPriv));
|
||||
if (!fbdevScreenInitialize (screen, scrpriv))
|
||||
{
|
||||
xfree (scrpriv);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue