Re: [PATCH v3 18/24] disas/nanomips: Prevent memory leaking

2022-09-13 Thread Richard Henderson
On 9/12/22 13:26, Milica Lazarevic wrote: g_autofree attribute is added for every dynamically allocated string to prevent memory leaking. The implementation of the several functions that work with dynamically allocated strings is slightly changed so we can add those attributes. Signed-off-by:

[PATCH v3 18/24] disas/nanomips: Prevent memory leaking

2022-09-12 Thread Milica Lazarevic
g_autofree attribute is added for every dynamically allocated string to prevent memory leaking. The implementation of the several functions that work with dynamically allocated strings is slightly changed so we can add those attributes. Signed-off-by: Milica Lazarevic --- disas/nanomips.cpp |