fst query

This commit is contained in:
yihaoDeng 2022-03-29 15:33:39 +08:00
parent 0653513968
commit 9a445b26c8
1 changed files with 2 additions and 1 deletions

View File

@ -294,8 +294,8 @@ void checkFstCheckIterator1() {
for (int i = 0; i < result.size(); i++) { for (int i = 0; i < result.size(); i++) {
// assert(result[i] == i); // check result // assert(result[i] == i); // check result
} }
automCtxDestroy(ctx);
taosMemoryFree(ctx);
delete m; delete m;
} }
void checkFstCheckIterator2() { void checkFstCheckIterator2() {
@ -508,6 +508,7 @@ void checkFstCheckIteratorRange2() {
assert(result.size() == 3); assert(result.size() == 3);
automCtxDestroy(ctx); automCtxDestroy(ctx);
} }
delete m;
} }
void fst_get(Fst* fst) { void fst_get(Fst* fst) {