[freetds] small patch - could someone commit ?

Thompson, Bill D (London) ThompBil at exchange.uk.ml.com
Mon Apr 14 04:44:16 EDT 2003


Hi,

could someone commit this small patch in src/tds/mem.c ?

thanks,

Bill


void
tds_free_locale(TDSLOCALE * locale)
{
+	if (locale) {
		if (locale->language)
			free(locale->language);
		if (locale->char_set)
			free(locale->char_set);
		if (locale->date_fmt)
			free(locale->date_fmt);
		TDS_ZERO_FREE(locale);
+	}
}

void

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Bill Thompson
Securities Services Division
Merrill Lynch Europe

For very important information relating to this e-mail please click on this
link:  http://www.ml.com/legal_info.htm





More information about the FreeTDS mailing list