Memory Allocation in SASL Plug-ins
The general rule for allocating memory in SASL is to free any memory
that you have allocated when that memory is no longer needed. Following this
rule improves performance and portability, and prevents memory leaks.