Fix a memory leak bug for umr tool.

Tom St Denis tstdenis82 at gmail.com
Fri Aug 21 14:32:32 UTC 2020


Sorry I missed this.  I've applied it (with whitespace fixes) and pushed it
out to main yesterday.

Cheers,
Tom

On Thu, Aug 13, 2020 at 10:57 PM 张二东 <erdong2018 at 163.com> wrote:

> 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.
>
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200821/c9484142/attachment.htm>


More information about the amd-gfx mailing list