From 7e3f08b463bcbae6950c07cc9ea29a7057f28e69 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 18 Jul 2012 13:45:14 -0700 Subject: [PATCH] intel: Quiet valgrind warnings in context creation. --- intel/intel_bufmgr_gem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index 43c49a9c..a484b120 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -2911,6 +2911,7 @@ drm_intel_gem_context_create(drm_intel_bufmgr *bufmgr) drm_intel_context *context = NULL; int ret; + VG_CLEAR(create); ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create); if (ret != 0) { DBG("DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: %s\n",