Fix a memory leak for "VECTOR_COLUMN == xxx" expression

The added test can check the memory leak but the feature isn't
implemented yet. :p