[Mesa-dev] [PATCH 1/2] llvmpipe: move lp_jit_screen_init() call after allocation of screen object

Brian Paul brianp at vmware.com
Tue Sep 30 06:17:44 PDT 2014


On 09/29/2014 07:46 PM, Michel Dänzer wrote:
> On 30.09.2014 10:45, Michel Dänzer wrote:
>> On 30.09.2014 07:16, Brian Paul wrote:
>>> The screen argument isn't actually used by lp_jit_screen_init() at this
>>> time,
>>
>> I guess that's why gcc didn't warn about it?
>
> Nope, it actually does warn about it. Mea culpa for not noticing that.

Yeah, I patched this after seeing the gcc warning.  New, non-leaking, 
patch posted.  Thanks, Michel.

-Brian




More information about the mesa-dev mailing list