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++/24450] Exception safety problem in messages/__timepunct



------- Comment #8 from cvs-commit at gcc dot gnu dot org  2005-10-24 15:31 -------
Subject: Bug 24450

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     paolo@gcc.gnu.org       2005-10-24 15:31:40

Modified files:
        libstdc++-v3   : ChangeLog 

Log message:
        2005-10-24  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/24450
        * config/locale/generic/time_members.h (__timepunct<>::
        __timepunct(__c_locale, const char*, size_t)): Avoid leaking
        memory if new throws inside _M_initialize_timepunct.
        * config/locale/gnu/time_members.h (__timepunct<>::
        __timepunct(__c_locale, const char*, size_t)): Likewise.
        * config/locale/gnu/message_members.h (messages<>::
        messages(__c_locale, const char*, size_t)): Rearrange to
        avoid memory leaks.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2917.2.96&r2=1.2917.2.97


-- 


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


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