Skip to content

Commit 9cc1661

Browse files
committed
Fixed 'Leaking memory.' in unit-tests by deepcode.ai
1 parent 7a7a1cb commit 9cc1661

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unit-tests.wsjcpp/src/unit_test_procedure_set_value.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ void UnitTestProcedureSetValue::executeTest() {
7070
"a\nbc"
7171
);
7272
}
73+
delete pProcedureSetValue;
74+
delete pVar1;
75+
delete pVar2;
7376
}
7477

7578
// ---------------------------------------------------------------------

0 commit comments

Comments
 (0)