[llvm] r211097 - Fix memory leak of RegScavenger accidentally added in r211037.

Tim Northover t.p.northover at gmail.com
Tue Jun 17 06:02:59 PDT 2014


> +    delete RS;

I think there's a strong case for std::unique_ptr here.

Cheers.

Tim.



More information about the llvm-commits mailing list