Skip to content

Commit

Permalink
Merge pull request #1179 from canliture/master
Browse files Browse the repository at this point in the history
fix a nullptr dereference error
  • Loading branch information
yuleisui authored Aug 30, 2023
2 parents 9a348cf + a1cfc66 commit f18b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svf/include/WPA/AndersenPWC.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class AndersenSCD : public Andersen
{
if (scdAndersen == nullptr)
{
new AndersenSCD(_pag);
scdAndersen = new AndersenSCD(_pag);
scdAndersen->analyze();
return scdAndersen;
}
Expand Down

0 comments on commit f18b576

Please sign in to comment.