https://bugs.openldap.org/show_bug.cgi?id=9564
--- Comment #1 from Howard Chu hyc@openldap.org ---
Anyway, the solution is relatively simple, the free call simply has to be moved above the unlock. In my patch, I also moved the free call for mt_dirty_ovs. I am not sure what OVERFLOW_NOTYET/mt_dirty_ovs is for, but presumably it should be handled the same.
The NOTYET is W-i-p and not usable yet.