[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20091108.git9918e082-8-g16af3c0
Thomas White
taw at bitwiz.org.uk
Sun Mar 6 09:14:11 UTC 2011
The following commit has been merged in the master branch:
commit 16af3c00195adc68cbd508e3613be4b2349260b3
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Wed Jun 30 10:05:23 2010 +0200
glamo-output: initialize mode name to NULL with calloc
diff --git a/src/glamo-output.c b/src/glamo-output.c
index 10a0f8e..eea3cb2 100644
--- a/src/glamo-output.c
+++ b/src/glamo-output.c
@@ -165,7 +165,7 @@ GlamoOutputInit(ScrnInfoPtr pScrn) {
output->driver_private = pGlamoOutput;
pGlamoOutput->modes = NULL;
- mode = xnfalloc(sizeof(DisplayModeRec));
+ mode = xnfcalloc(1, sizeof(DisplayModeRec));
if (!mode)
return;
--
xf86-video-glamo, SMedia Glamo video driver for X.Org
More information about the pkg-fso-commits
mailing list