intel: Quiet valgrind warnings in context creation.
PATCH 1/1 intel: Quiet valgrind warnings in context creation.
--- intel/intel_bufmgr_gem.c | 1 + 1 file changed, 1 insertion(+)
intel/intel_bufmgr_gem.c +1 -0
@@ -2848,6 +2848,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",
Signature · 1 line
1.7.10.4