[Mesa-dev] [PATCH 2/2] Gallium:draw:aaline and aapoint: Don't free the tokens.

Stéphane Marchesin stephane.marchesin at gmail.com
Wed Jun 29 09:28:52 PDT 2011


2011/6/29 Jose Fonseca <jfonseca at vmware.com>:
> Stephane,
>
> It doens't look right to me: we did allocate these (with the tgsi_alloc_tokens() call above); and the driver should not delete them (the driver will make a copy of the tokens if it needs them, and should not hold on to the incoming tokens.
>
> If there's a double free, then I suspect the problem is elsewhere, not the draw module.
>

Hmm, I'll investigate more. There is definitely a double-free of some
kind on those.

Stéphane


More information about the mesa-dev mailing list