File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1451,13 +1451,14 @@ int CeedBasisDestroy(CeedBasis *basis) {
1451
1451
if (!* basis || -- (* basis )-> ref_count > 0 ) return CEED_ERROR_SUCCESS ;
1452
1452
if ((* basis )-> Destroy ) CeedCall ((* basis )-> Destroy (* basis ));
1453
1453
if ((* basis )-> contract ) CeedCall (CeedTensorContractDestroy (& (* basis )-> contract ));
1454
+ CeedCall (CeedFree (& (* basis )-> q_ref_1d ));
1455
+ CeedCall (CeedFree (& (* basis )-> q_weight_1d ));
1454
1456
CeedCall (CeedFree (& (* basis )-> interp ));
1455
1457
CeedCall (CeedFree (& (* basis )-> interp_1d ));
1456
1458
CeedCall (CeedFree (& (* basis )-> grad ));
1457
- CeedCall (CeedFree (& (* basis )-> div ));
1458
1459
CeedCall (CeedFree (& (* basis )-> grad_1d ));
1459
- CeedCall (CeedFree (& (* basis )-> q_ref_1d ));
1460
- CeedCall (CeedFree (& (* basis )-> q_weight_1d ));
1460
+ CeedCall (CeedFree (& (* basis )-> div ));
1461
+ CeedCall (CeedFree (& (* basis )-> curl ));
1461
1462
CeedCall (CeedDestroy (& (* basis )-> ceed ));
1462
1463
CeedCall (CeedFree (basis ));
1463
1464
return CEED_ERROR_SUCCESS ;
You can’t perform that action at this time.
0 commit comments