fix memory leaks in info() in librz/bin/p/bin_pyc.c (#6809)

This commit is contained in:
Syh-Xiong
2026-09-28 12:19:13 +00:00
committed by GitHub
parent ce0b1461a3
commit fb12ea77bb
+1
View File
@@ -101,6 +101,7 @@ static RzBinInfo *info(RzBinFile *arch) {
bool error = false;
bool is_before_py_36 = magic_int_within(ctx->version.magic, 0x9494, 0x0d16, &error);
if (error) {
free(ret);
return NULL;
}