8000 text fix of memory leak · Z80coder/datalog-cpp@b56608b · GitHub
[go: up one dir, main page]

Skip to content

Commit b56608b

Browse files
committed
text fix of memory leak
1 parent e8a1b3b commit b56608b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tuple_binding_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ bool unbindTest()
1818
bool leakTest() {
1919
double* leak = new double[10];
2020
std::cout << "Hello!" << std::endl;
21+
delete leak;
2122
return true;
2223
}
2324

0 commit comments

Comments
 (0)
0