Skip to content

Commit

Permalink
wordfmt: fix clang-tidy warning [DeadStores]
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre authored and poire-z committed Aug 2, 2024
1 parent 0199083 commit 7848a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crengine/src/wordfmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ vDestroyDiagram(diagram_type *pDiag)
return;
}
vEpilogue(pDiag);
pDiag = (diagram_type *)xfree(pDiag);
xfree(pDiag);
} /* end of vDestroyDiagram */

/*
Expand Down

0 comments on commit 7848a7f

Please sign in to comment.