Fix leak when showing lib versions

This commit is contained in:
Paul B Mahol 2022-07-25 22:47:32 +02:00 committed by pancake
parent d4c2c61df1
commit 5aad604a27

View File

@ -757,6 +757,8 @@ R_API int r_main_radare2(int argc, const char **argv) {
}
}
if (show_versions) {
LISTS_FREE();
free (debugbackend);
return r_main_version_verify (1, json);
}
if (show_version) {