[Mesa-dev] [PATCH] glx: Be slightly more tolerant in glXImportContext

Adam Jackson ajax at redhat.com
Tue Sep 26 20:06:54 UTC 2017


On Tue, 2017-09-26 at 11:59 -0700, Eric Anholt wrote:

> Instead of magic numbers, couldn't we just malloc the proplist here and
> free it after the loop?

Fine. You tyrant.

Actually I have a better idea. We've buffered the entire reply by this
point, we can just read two dwords at a time until we're done and avoid
malloc games entirely.

- ajax


More information about the mesa-dev mailing list