Fix memory realted to #64726