diff --git a/dbdimp.c b/dbdimp.c index 7a80f44..49fedd9 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -2241,6 +2241,7 @@ static int perl_tokenizer_Close(sqlite3_tokenizer_cursor *pCursor){ dTHX; sv_free(c->coderef); + if (c->pToken) sqlite3_free(c->pToken); sqlite3_free(c); return SQLITE_OK; }