mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-03 00:49:01 +08:00
TableFind: clearing the statically allocated memory on api end
This commit is contained in:
parent
b3649b9fb2
commit
b2ed8038d1
@ -2215,6 +2215,8 @@ void TessBaseAPI::ClearResults() {
|
||||
delete paragraph_models_;
|
||||
paragraph_models_ = nullptr;
|
||||
}
|
||||
|
||||
uniqueInstance<std::vector<MyTable>>().clear();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user