bugfix: free without malloc in setLosslessBitsIndexed.