On Jul 20, 2011, at 11:29 PM, Frits van Bommel wrote: > On 20 July 2011 22:26, Chad Rosier <[email protected]> wrote: >> + // Free redirections of stdout/stderr. >> + if (Redirects) { >> + delete Redirects[1]; >> + delete Redirects[2]; >> + delete Redirects; >> + } > > It's been a while since I've used dynamically-allocated arrays in C++, > but shouldn't that last 'delete' be a 'delete[]'?
Fixed. Thanks for the catch. Chad _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
