Skip to content

Commit

Permalink
APREPRO: Eliminate memory leak from do_output()
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Aug 3, 2023
1 parent 0e0e78c commit af29b8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/seacas/libraries/aprepro_lib/apr_aprepro.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#endif

namespace {
const std::string version_string{"6.17 (2023/07/20)"};
const std::string version_string{"6.18 (2023/08/03)"};

void output_copyright();

Expand Down Expand Up @@ -100,6 +100,7 @@ namespace SEAMS {
{
if (!outputStream.empty()) {
outputStream.top()->flush();
delete outputStream.top();
}

// May need to delete this if set via --info=filename command.
Expand Down

0 comments on commit af29b8b

Please sign in to comment.