Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_qualname returns NULL. CID 715371