rewriter: clean up memory managment.
It deleted the passed ICSlotRewrite* and there was no way for a caller to know this without looking at the source. Make the ownership explicit by using a std::unique_ptr
Showing
Please register or sign in to comment