[cfe-commits] r135614 - in /cfe/trunk: include/clang/Basic/DiagnosticDriverKinds.td include/clang/Driver/ArgList.h include/clang/Driver/Compilation.h include/clang/Driver/Driver.h include/clang/Driver/Job.h lib/Driver/ArgList.cpp lib/Driver/Compi
Frits van Bommel
fvbommel at gmail.com
Wed Jul 20 23:29:43 PDT 2011
On 20 July 2011 22:26, Chad Rosier <mcrosier at apple.com> 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[]'?
More information about the cfe-commits
mailing list