Fix a memory leak bug for umr tool.

张二东 erdong2018 at 163.com
Fri Aug 14 02:19:37 UTC 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200814/815b4bc4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-a-memory-leak-bug-in-function-umr_pm4_decode_rin.patch
Type: application/octet-stream
Size: 1142 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200814/815b4bc4/attachment.obj>


More information about the amd-gfx mailing list