leaking custom heap