gcc/libstdc++-v3/config/locale
Paolo Carlini f991b1d853 re PR libstdc++/12540 (Memory leak in locale::locale(const char*))
2003-10-16  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/12540
	* config/locale/gnu/monetary_members.cc
	(moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
	Don't leak memory if new throws.
	* src/locale.cc (locale::locale(const char*)): In order not
	to leak memory in case new throws, use a basic_string type
	for __res too and avoid strdup.

From-SVN: r72553
2003-10-16 17:24:07 +00:00
..
generic re PR libstdc++/11844 (Incorrect values of ctype_base::alnum and ctype_base::graph) 2003-10-09 19:10:56 +00:00
gnu re PR libstdc++/12540 (Memory leak in locale::locale(const char*)) 2003-10-16 17:24:07 +00:00
ieee_1003.1-2001 codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00