Fixed alloc/dealloc mismatch in Hypertable-shell-ldi-select test