memleak updates