Avoid a memory leak on non-PAM systems