mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 21:55:30 -04:00
missed ga_destroy for 2d DM
This commit is contained in:
parent
7bf45177c9
commit
ccf6a5ae39
1 changed files with 7 additions and 0 deletions
|
|
@ -1391,6 +1391,13 @@ c
|
|||
if (.not.ga_destroy(g_rhs_xc(1)))
|
||||
+ call errquit(pname//"could not destroy g_rhs_xc",0,GA_ERR)
|
||||
c
|
||||
if (xc_gotxc().and.(.not.dm3d)) then
|
||||
do ip = 1, 2*ipol
|
||||
if (.not.ga_destroy(g_dtmp(ip)))
|
||||
1 call errquit(pname//"could not destroy g_dtmp_ao", 0,
|
||||
2 GA_ERR)
|
||||
enddo
|
||||
endif
|
||||
c
|
||||
do ip = 1, ipol
|
||||
if (.not.ga_destroy(g_d(0+ip)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue