Fix 32-bit build after _IMP migration
Fix memory leak in QueryLexer
Fix memory leak in Highlighter