Skip to content

Commit dc65612

Browse files
committed
fixed memoryleak in api_test
1 parent d7a2881 commit dc65612

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/FrogAPI.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3085,6 +3085,7 @@ void FrogAPI::run_api_tests( const string& testName ){
30853085
*outS << w->text() << ": " << morphs << " :: " << compounds << endl;
30863086
}
30873087
*outS << "DEEP_MORPH test DONE " << endl;
3088+
delete doc;
30883089
}
30893090
}
30903091
*outS << "Done with:" << testName << endl;

0 commit comments

Comments
 (0)