trying to pin down a memleak