Skip to content

Commit

Permalink
delete CA db pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Aug 5, 2024
1 parent dc52098 commit ac84868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/strucclustutils/msa2lddt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ R"html(<!DOCTYPE html>
if (caExist) {
seqDbrCA->close();
}
delete seqDbrCA;
return EXIT_SUCCESS;
}

Expand Down
1 change: 1 addition & 0 deletions src/strucclustutils/structuremsa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,7 @@ int structuremsa(int argc, const char **argv, const Command& command, bool preCl
if (caExist) {
seqDbrCA->close();
}
delete seqDbrCA;

return EXIT_SUCCESS;
}
Expand Down

0 comments on commit ac84868

Please sign in to comment.