freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: TDS_ZERO_FREE error
- Date: Sat, 10 Feb 2001 12:12:25 -0500 (EST)
Sorry about this one...somehow the header file change got wiped out...and
I haven't been able to check anything into CVS in weeks. (I'm considering
moving things to someplace like sourceforge but I detest using ssh to
check in stuff).
Anyway, here is the patch for tdsutil.h
#define TDS_ZERO_FREE(x) {free((x)); (x) = NULL;}
The original patch had it called FREE, but I renamed it to make it a
little clearer and prevent a symbol clash with other libraries.
Brian
On Fri, 9 Feb 2001, Ben Von Handorf wrote:
> Chris,
>
> I had the same issue. By comaring it to 0.51 I
> decided to do a
>
> #defind TDS_ZERO_FREE(a) free(a)
>
> in tds.h.
>
> Everything seems to work OK, but I don't know if it's
> quite right...
>
> Pax & Good Luck,
> -Ben
>
-
TDS_ZERO_FREE error,
Chris Newbill, 02/08/2001
- <Possible follow-up(s)>
- Re: TDS_ZERO_FREE error, Ben Von Handorf, 02/09/2001
- Re: TDS_ZERO_FREE error, Nadav, 02/09/2001
- Re: TDS_ZERO_FREE error, Brian Bruns, 02/10/2001
- Re: TDS_ZERO_FREE error, Светлана Костюченко, 02/11/2001
Archive powered by MHonArc 2.6.24.