Hello, Eric
>
> Can you explain how not freeing memory could cause a core dump on exit?
Core mostly was generated due: a number of levels is max_miplevel (level 0
is also available, so index should be counted as <=max_miplevel), but array
that holds pointers is size of max_miplevel (so without
Sergii Romantsov writes:
> Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on
> exit.
> Issues:
> 1. Allocation of memory many times to the same variable
> 2. Not complete array to store pointers
> 3. Absence of memory freeing
Can you explain how not freeing memory
Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on
exit.
Issues:
1. Allocation of memory many times to the same variable
2. Not complete array to store pointers
3. Absence of memory freeing
CC: Eric Anholt
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108819