Fixed alloc-dealloc-mismatch error in hypertable_ldi_select_test