diff options
author | Milica Lazarevic <milica.lazarevic@syrmia.com> | 2022-09-12 14:26:29 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-10-31 11:32:07 +0100 |
commit | 22e7b52acd8ffd10478167652b291db11c9c047d (patch) | |
tree | 51d387bee32083d22666368dd5fca604e8328d53 /.gitlab-ci.yml | |
parent | 043dc73cbc6e9c24c061966cd40fa3c9a702b004 (diff) |
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 '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions