Fix memory management of obs_properties.