Skip to content

Commit 867c546

Browse files
committed
Plug memory leak in dav_subspace destructor
1 parent 002786e commit 867c546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/source_hsolver/diago_dav_subspace.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Diago_DavSubspace<T, Device>::~Diago_DavSubspace()
8888
delmem_complex_op()(this->psi_in_iter);
8989

9090
delmem_complex_op()(this->hphi);
91+
delmem_complex_op()(this->sphi);
9192
delmem_complex_op()(this->hcc);
9293
delmem_complex_op()(this->scc);
9394
delmem_complex_op()(this->vcc);

0 commit comments

Comments
 (0)