[freetds] small patch - could someone commit ?

Lowden, James K LowdenJK at bernstein.com
Mon Apr 14 10:01:59 EDT 2003

> From: Thompson, Bill D (London) [mailto:ThompBil at exchange.uk.ml.com]
> Sent: April 14, 2003 4:44 AM
> could someone commit this small patch in src/tds/mem.c ?

At your service, my liege.  


> 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);
> +	}
> }

The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above.  If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.

More information about the FreeTDS mailing list