lima/ppir: fix pointer referenced after a free
authorPatrick Lerda <patrick9876@free.fr>
Mon, 29 Apr 2019 08:43:51 +0000 (10:43 +0200)
committernoblock <noblock@users.noreply.github.com>
Mon, 29 Apr 2019 08:43:51 +0000 (10:43 +0200)
commit812288bf0f65c360fd93803d14f1c74754835535
treeb1c6602912543aa46a6d1463318c13db83bba37d
parentbb953de96c769618db649b0bb735a5cce3934460
lima/ppir: fix pointer referenced after a free

Issue detected by valgrind.

Fixes: 92d7ca4b1cd ("gallium: add lima driver")

Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
src/gallium/drivers/lima/ir/pp/lower.c