Message ID | 1532531248-25116-1-git-send-email-dmalcolm@redhat.com |
---|---|
State | New |
Headers | show |
Series | [committed] optinfo-emit-json.cc: fix trivial memory leak | expand |
diff --git a/gcc/optinfo-emit-json.cc b/gcc/optinfo-emit-json.cc index 6460a81..2199d52 100644 --- a/gcc/optinfo-emit-json.cc +++ b/gcc/optinfo-emit-json.cc @@ -75,7 +75,7 @@ private: json::array *m_root_tuple; /* The currently open scopes, for expressing nested optimization records. */ - vec<json::array *> m_scopes; + auto_vec<json::array *> m_scopes; }; /* optrecord_json_writer's ctor. Populate the top-level parts of the