panfrost: Free the instruction object in mir_remove_instruction()
authorBoris Brezillon <boris.brezillon@collabora.com>
Tue, 13 Aug 2019 23:54:24 +0000 (01:54 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 27 Aug 2019 14:50:52 +0000 (16:50 +0200)
commit3ac49f135a104ea0420972403cbb53d94b1ab45f
tree6f4b53d33c5633169b3b862c50ef1e87ecbd3a58
parent239f7f1c0ad7ee8985e62e8d7f84f6834d14f990
panfrost: Free the instruction object in mir_remove_instruction()

To avoid memory leaks.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/compiler.h