On 09/27/2012 10:33 AM, Eric Anholt wrote:
Ian Romanick <[email protected]> writes:
From: Ian Romanick <[email protected]>
Otherwise intelDestroyContext would try to dereference the pointer to
freed memory.
Does DestroyContext get called out of all these error paths? If so, why
not just remove our freeing?
That's a fair point. It also looks like the free in brwCreateContext is
bogus. The structure is allocated with rzalloc, but it's freed with
free. :(
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev