We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc361c commit 3db19a4Copy full SHA for 3db19a4
librz/bin/p/bin_wasm.c
@@ -405,6 +405,7 @@ static RzStructuredData *wasm_types_structure(RzBinFile *bf) {
405
RzStructuredData *params = rz_structured_data_new_array();
406
if (!params) {
407
rz_structured_data_free(arr);
408
+ rz_structured_data_free(m);
409
return NULL;
410
}
411
for (ut32 i = 0; i < type->param_count; i++) {
@@ -631,6 +632,7 @@ static RzStructuredData *wasm_elements_structure(RzBinFile *bf) {
631
632
RzStructuredData *elems = rz_structured_data_new_array();
633
if (!elems) {
634
635
636
637
638
for (ut32 i = 0; i < element->num_elem; i++) {
0 commit comments