------- 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: [EMAIL PROTECTED] 2005-10-24 15:31:40 Modified files: libstdc++-v3 : ChangeLog Log message: 2005-10-24 Paolo Carlini <[EMAIL PROTECTED]> 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