On Sat, 22 Oct 2011 19:41:23 -0700, Ben Widawsky <b...@bwidawsk.net> wrote:
> + mode != dev_priv->relative_constants_mode) { > + if (INTEL_INFO(dev)->gen < 4) > + return -EINVAL; > + > + if (INTEL_INFO(dev)->gen > 5 && > + mode == I915_EXEC_CONSTANTS_REL_SURFACE) > + return -EINVAL; You need to clean up before returning; you've allocated cliprects and an exec buffer and also locked the mutex. -- keith.pack...@intel.com
pgpUyl0nRzqNh.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx