Fix double free bug in COFF plugin (#17315)

This commit is contained in:
Paul I 2020-07-20 10:46:17 +03:00 committed by GitHub
parent 52a64537fb
commit 5898c50ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,7 +308,6 @@ static RList *_relocs_list(RBin *rbin, struct r_bin_coff_obj *bin, bool patch, u
}
reloc = R_NEW0 (RBinReloc);
if (!reloc) {
free (symbol);
continue;
}