Re: [Mesa-dev] [PATCH] r600g: don't leak driver const buffers

2016-01-21 Thread Nicolai Hähnle
On 20.01.2016 18:52, Grazvydas Ignotas wrote: The buffers are referenced from r600_update_driver_const_buffers() -> r600_set_constant_buffer() -> u_upload_data(), but nothing ever releases the reference. Similar case with driver_consts. Found using valgrind. Signed-off-by: Grazvydas Ignotas

[Mesa-dev] [PATCH] r600g: don't leak driver const buffers

2016-01-20 Thread Grazvydas Ignotas
The buffers are referenced from r600_update_driver_const_buffers() -> r600_set_constant_buffer() -> u_upload_data(), but nothing ever releases the reference. Similar case with driver_consts. Found using valgrind. Signed-off-by: Grazvydas Ignotas --- No commit access, if the