Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Memory Concerns

Use this function when you need a Slapi_Mods allocated from the heap, rather than from the stack.