Skip to content

Commit

Permalink
Merge pull request #102 from yushihang/master
Browse files Browse the repository at this point in the history
change delete to delete[] for array
  • Loading branch information
olomix authored Apr 10, 2024
2 parents d2169f8 + 8623c49 commit 7aae4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/calcwit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Circom_CalcWit::Circom_CalcWit(Circom_Circuit *aCircuit) {

Circom_CalcWit::~Circom_CalcWit() {

delete signalAssigned;
delete[] signalAssigned;

delete[] cvs;
delete[] mutexes;
Expand Down

0 comments on commit 7aae4a3

Please sign in to comment.