PR jit/63854: Fix memory leak of reginfo.c: valid_mode_changes_obstack
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 19 Nov 2014 19:11:37 +0000 (19:11 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 19 Nov 2014 19:11:37 +0000 (19:11 +0000)
commita4fe9e9923db7931411e3bbf86892245f3bfb4e2
treec40af132f891e30d94a73def524d305132f0cdc2
parent0ef443cf01de9153f66d9327784c6137d387dade
PR jit/63854: Fix memory leak of reginfo.c: valid_mode_changes_obstack

gcc/ChangeLog:
PR jit/63854
* reginfo.c (finish_subregs_of_mode): Replace obstack_finish with
obstack_free when cleaning up valid_mode_changes_obstack.

From-SVN: r217792
gcc/ChangeLog
gcc/reginfo.c