[Mesa-dev] [PATCH] mesa: fix renderbuffer leak

Bartosz Tomczyk bartosz.tomczyk86 at gmail.com
Sat Apr 8 11:06:30 UTC 2017


I confirm that the series fix all memory leaks I was observing.

Tested-by: Bartosz Tomczyk <bartosz.tomczyk86 at gmail.com>


On 08.04.2017 05:23, Timothy Arceri wrote:
> On 08/04/17 12:25, Timothy Arceri wrote:
>> Actually please ignore that series for now. There are some issue with it
>> I need to fix up.
>>
>
> Sorry for the noise. V3 of the first patch should fix things up.
>
>> On 08/04/17 11:13, Timothy Arceri wrote:
>>>
>>>
>>> On 08/04/17 02:25, Bartosz Tomczyk wrote:
>>>> Patch didn't fix all leaks. There's one more still reported by ASAN:
>>>>
>>>> Direct leak of 2112 byte(s) in 12 object(s) allocated from:
>>>>    #0 0x7fe18d168800 in calloc
>>>> (/usr/lib/clang/3.9.1/lib/linux/libclang_rt.asan-x86_64.so
>>>> <http://libclang_rt.asan-x86_64.so>+0xf6800)
>>>>    #1 0x7fe181c141f6 in st_new_renderbuffer_fb
>>>> /home/bartek/Devel/mesa/src/mesa/state_tracker/st_cb_fbo.c:277:11
>>>
>>> Right, there was some internal renderbuffer creation going on that I
>>> didn't notice. This series should fix it:
>>>
>>> https://patchwork.freedesktop.org/series/22708/
>>> _______________________________________________
>>> mesa-dev mailing list
>>> mesa-dev at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list