Hi:
The function umr_pm4_decode_ring_is_halted call umr_read_ring_data
to get ringdata, umr_read_ring_data will alloc memory to store ring
data and return the memory pointer to umr_pm4_decode_ring_is_halted, So
the memory should be free in umr_pm4_decode_ring_is_halted.
Thanks.
Attachment:
0001-fix-a-memory-leak-bug-in-function-umr_pm4_decode_rin.patch
Description: Binary data
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx