diff options
author | Milica Lazarevic | 2022-09-12 14:26:29 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-10-31 11:32:07 +0100 |
commit | 22e7b52acd8ffd10478167652b291db11c9c047d (patch) | |
tree | 51d387bee32083d22666368dd5fca604e8328d53 /Kconfig | |
parent | disas/nanomips: Remove CPR function (diff) | |
download | qemu-22e7b52acd8ffd10478167652b291db11c9c047d.tar.gz qemu-22e7b52acd8ffd10478167652b291db11c9c047d.tar.xz qemu-22e7b52acd8ffd10478167652b291db11c9c047d.zip |
disas/nanomips: Prevent memory leaking
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 <milica.lazarevic@syrmia.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220912122635.74032-19-milica.lazarevic@syrmia.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions