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

Memory Concerns

Free the value set in vs using slapi_valueset_free() .