That might result in freeing a garbage value
Created attachment 360615 [details] Patch
Comment on attachment 360615 [details] Patch r=me
Comment on attachment 360615 [details] Patch Clearing flags on attachment: 360615 Committed r240732: <https://trac.webkit.org/changeset/240732>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47682823>
Just a meta-note about the mistake that led to this bug. Generally speaking in any non-trivial cases, we can implement operator= by calling the constructor in an appropriate way, and that's often a good pattern, but it's typically not good in such cases to attempt to implement a constructor by calling operator=.