Sun Java System Directory Server Enterprise Edition 6.2 Developer's Guide

Memory Concerns

When you are no longer using the Slapi_ValueSet structure, you should free it from memory by using slapi_valueset_free() .