mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Fixed memory bug
This commit is contained in:
parent
797f1f4327
commit
b6d7b0ff08
@ -252,7 +252,6 @@ void test4() {
|
|||||||
a.insert(start);
|
a.insert(start);
|
||||||
assert(a.values(start) == res);
|
assert(a.values(start) == res);
|
||||||
a.print(start);
|
a.print(start);
|
||||||
delete (start); ///< Free memory of the Node
|
|
||||||
std::cout << "TEST PASSED!\n\n";
|
std::cout << "TEST PASSED!\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user