fix: memory leak
This commit is contained in:
parent
df2480c73c
commit
6d5b3eddc1
1 changed files with 2 additions and 0 deletions
|
@ -65,4 +65,6 @@ int main() {
|
||||||
cout << "[SUCCESS] Output of back() is correct." << endl;
|
cout << "[SUCCESS] Output of back() is correct." << endl;
|
||||||
|
|
||||||
cout << "All tests passed!" << endl;
|
cout << "All tests passed!" << endl;
|
||||||
|
|
||||||
|
delete testVec;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue