Skip to content

Fix of crash and memory leaks in the depthstencil-render-miplevels test

Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on exit and also memory leaks. Core dump fixed by correct array size allocation and memory allocation/deallocation is controlled more carefully. Resubmit of https://patchwork.freedesktop.org/patch/263170/

CC: Eric Anholt eric@anholt.net Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108819 Fixes: 7a0e61d7 (depthstencil-render-miplevels: Present the results in non-auto mode.) Signed-off-by: Sergii Romantsov sergii.romantsov@globallogic.com

Merge request reports

Loading