[Freeipa-devel] [PATCH] 0159-0160 Support ID views in compat tree

Alexander Bokovoy abokovoy at redhat.com
Tue Oct 7 10:12:08 UTC 2014


On Tue, 07 Oct 2014, Ludwig Krispenz wrote:
>Hi Alex,
>
>slapi_attr_set_valueset() calls slapi_valueset_set_valueset(), but 
>this does not free the existing values,
Here is the problem, I cannot free original values as
slapi_attr_get_valueset() returns a copy and I never can get access to
the original Slapi_ValueSet.

I only can get access to the original Slapi_Value** array which means I
could manipulate its content but that probably require resizing it and
thus changing a pointer vs->va, to which I don't have access anyway.

How can we fix this?

-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list