Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb56608b

Browse files
committed
text fix of memory leak
1 parente8a1b3b commitb56608b

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
boolleakTest() {
1919
double* leak =newdouble[10];
2020
std::cout <<"Hello!" << std::endl;
21+
delete leak;
2122
returntrue;
2223
}
2324

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp