This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60308] [4.9 Regression] std::deque leaks memory


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60308

--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> ---
Author: glisse
Date: Sat Feb 22 10:24:11 2014
New Revision: 208041

URL: http://gcc.gnu.org/viewcvs?rev=208041&root=gcc&view=rev
Log:
2014-02-22  Marc Glisse  <marc.glisse@inria.fr>

    PR libstdc++/60308
    * include/bits/stl_deque.h (_Deque_base::_Deque_base(const
    allocator_type&)): Remove redundant call to _M_initialize_map.
    (deque::deque(const allocator_type&)): Initialize _Base with a
    constructor that calls _M_initialize_map.

    Partial revert:

    2013-09-20  Marc Glisse  <marc.glisse@inria.fr>
    PR libstdc++/58338
    (_Deque_base) [_Deque_base(const allocator_type&)]: Add missing call to
    _M_initialize_map.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_deque.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]