From: David Malcolm Date: Wed, 19 Nov 2014 19:33:49 +0000 (+0000) Subject: PR jit/63854: Fix memory leak of save_decoded_options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dd2b60b2f68c5c7c2f4add275096ad15566a022;p=gcc.git PR jit/63854: Fix memory leak of save_decoded_options gcc/ChangeLog: PR jit/63854 * toplev.c (toplev::finalize): Clean up save_decoded_options. From-SVN: r217795 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 18115e157ea..66f144d8f82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-11-19 David Malcolm + + PR jit/63854 + * toplev.c (toplev::finalize): Clean up save_decoded_options. + 2014-11-19 David Malcolm PR jit/63854 diff --git a/gcc/toplev.c b/gcc/toplev.c index b1f224d4062..f1478d0ebbd 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2174,6 +2174,8 @@ toplev::finalize (void) finalize_options_struct (&global_options); finalize_options_struct (&global_options_set); + XDELETEVEC (save_decoded_options); + /* Clean up the context (and pass_manager etc). */ delete g; g = NULL;