Skip to content

Commit 4b23484

Browse files
authored
Patch memory leak
Delete the model.
1 parent 0c51d62 commit 4b23484

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Applications/Forward/test/testForward.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,6 @@ void testGait2354WithControllerGUI() {
256256

257257
CHECK_STORAGE_AGAINST_STANDARD(results, standard, rms_tols,
258258
__FILE__, __LINE__, "testGait2354WithControllerGUI failed");
259+
260+
delete model;
259261
}

0 commit comments

Comments
 (0)