aux/trace: rzalloc the context struct
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 27 Jan 2022 18:51:06 +0000 (13:51 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 9 Mar 2022 03:54:37 +0000 (03:54 +0000)
commit8142fc5a455e010abf2ce55d0ad938f7ae88bb32
tree7d9bd1effe2cd334c8ed88f245befcd17fa7e8c7
parentf1cdaf36df75617645ce315f5c089558c04dea46
aux/trace: rzalloc the context struct

this has problems if pointers are garbage

cc: mesa-stable

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14854>
src/gallium/auxiliary/driver_trace/tr_context.c