diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2005-05-10 18:10:32 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2005-05-10 18:10:32 +0000 |
commit | e57d5c47428313a846f587e02693fc4fb2e30dc6 (patch) | |
tree | 495443fcc79199ce14edd0a0968a42c13577a6d2 /src/mesa/drivers/dri/i915/intel_screen.c | |
parent | 5a5b4436cb71575884f76bc079156f77e30d72a7 (diff) |
fix some valgrind complaints
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 06caa1a6be..082c36b88e 100644 --- a/src/mesa/drivers/dri/i915/intel_screen.c +++ b/src/mesa/drivers/dri/i915/intel_screen.c @@ -81,7 +81,7 @@ static GLboolean intelInitDriver(__DRIscreenPrivate *sPriv) /* Allocate the private area */ - intelScreen = (intelScreenPrivate *)MALLOC(sizeof(intelScreenPrivate)); + intelScreen = (intelScreenPrivate *)CALLOC(sizeof(intelScreenPrivate)); if (!intelScreen) { fprintf(stderr,"\nERROR! Allocating private area failed\n"); return GL_FALSE; |