optinfo-emit-json.cc: fix trivial memory leak
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 25 Jul 2018 14:18:22 +0000 (14:18 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 25 Jul 2018 14:18:22 +0000 (14:18 +0000)
commitee50ba7793210790dea424d8707aff28459c8f6d
tree2697cd7f1195877137607efe222e445415d1426e
parente8e3751cd81b90d52a583107172c7d1dab42c311
optinfo-emit-json.cc: fix trivial memory leak

gcc/ChangeLog:
* optinfo-emit-json.cc (class optrecord_json_writer): Convert
field "m_scopes" from vec to auto_vec.

From-SVN: r262967
gcc/ChangeLog
gcc/optinfo-emit-json.cc