Skip to content

Fix/108819 depthstencil crash

Usage test 'depthstencil-render-miplevels 200 s=z24_s8' causes core dump on exit and additionally memory leaks. Fixed: array of pointers is allocated to size max_miplevel, but used as max_miplevel + 1. Memory allocation/deallocation is controlled more carefully

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

Edited by Sergii Romantsov

Merge request reports