[Piglit] [PATCH v1 2/2] test: fix resources usage for depthstencil-render-miplevels
eric at anholt.net
Fri Nov 23 17:35:11 UTC 2018
Sergii Romantsov <sergii.romantsov at gmail.com> writes:
> Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on exit.
> 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 could cause a core dump on exit?
And, in general, I would recommend just freeing data after usage, rather
than having a deinit function.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the Piglit