Skip to content

Commit ddb94d2

Browse files
authored
Merge pull request #244 from CFD-GO/hotfix/failcheck
Fixing memory leak in Failcheck
2 parents 21557e6 + b778e2d commit ddb94d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Handlers/cbFailcheck.cpp.Rt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ int cbFailcheck::DoIt () {
8383
for (int k = 0; k < reg.size(); k++){
8484
cond = cond || (std::isnan(tmp[k]));
8585
}
86-
86+
delete[] tmp;
8787
<?R } ?>
8888
if(cond ){ notice("Checking <?%s q$name ?> discovered NaN"); }
8989
}

0 commit comments

Comments
 (0)