The string will be freed when the Slapi_Value structure is freed from memory by calling slapi_value_free().