mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-05 02:47:00 +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_;
|
delete paragraph_models_;
|
||||||
paragraph_models_ = nullptr;
|
paragraph_models_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uniqueInstance<std::vector<MyTable>>().clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user