fix memory leaks in parse_export_entry function (#6776)

This commit is contained in:
Syh-Xiong
2026-09-27 18:09:57 +00:00
committed by GitHub
parent 7d75062276
commit ce0b1461a3
+1
View File
@@ -410,6 +410,7 @@ static void *parse_export_entry(RzBuffer *b, ut64 max) {
}
return ptr;
beach:
free(ptr->field_str);
free(ptr);
return NULL;
}