dump: fix a memory leak

Conditions:

  * Column is a reference column
  * Column is a vector column
  * Reference key size is 25 byte or larger