Fixed another memory in custom uri handler.