Frees a CapsFeatures and all its values.
The caps features must not have a parent when this function is called.
the CapsFeatures to free