Tried to build bitcoin 0.15.1 under OpenBSD 6.2amd64 as gmaxwell recommended to test malloc() error (Issue #12332). The bug with memory management is the same.
While running bitcoind I get this:
bitcoind(23145) in free(): chunk is already free 0x1392d44e9a90 Abort trap (core dumped)