Remove some extraneous debugging from registry memleak fix