Fix returning imports table ##bin

This commit is contained in:
Paul B Mahol 2022-07-30 12:38:05 +02:00 committed by pancake
parent daf0c06d81
commit 4de824fb89

View File

@ -302,7 +302,7 @@ static RList *get_imports(RBinFile *bf) {
r_list_append (ret, ptr);
}
}
return ret;
bad_alloc:
r_list_free (ret);
return NULL;