Skip to content

Commit

Permalink
Memory fix on error path on win mangled named handling ##bin (#16152)
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored Mar 5, 2020
1 parent 72093ac commit c3dbfae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libr/bin/mangling/microsoft_demangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,7 @@ static EDemanglerErr parse_microsoft_rtti_mangled_name(char *sym, char **demangl
int len = get_namespace_and_name (sym + 2, &type_code_str, NULL);
if (!len) {
err = eDemanglerErrUncorrectMangledSymbol;
free (type_code_str.type_str);
goto parse_microsoft_rtti_mangled_name_err;
}

Expand Down

0 comments on commit c3dbfae

Please sign in to comment.