Skip to content

Commit

Permalink
Dont build codemeta with null
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Nov 8, 2024
1 parent 22ae296 commit 7782be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeXMLParse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ R_API RCodeMeta *ParseCodeXML(ghidra::Funcdata *func, const char *xml) {
return nullptr;
}
std::stringstream ss;
RCodeMeta *code = r_codemeta_new(nullptr);
RCodeMeta *code = r_codemeta_new("");
if (!code) {
return nullptr;
}
Expand Down

0 comments on commit 7782be2

Please sign in to comment.