freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Brian Bruns" <camber AT ais.org>
- To: freetds
- Subject: Re: memory leaks in dblib/tds
- Date: Tue, 9 Nov 1999 12:52:39
Actually the string gets zero'ed elsewhere so it won't crash. I've put a
test program together and am trying to track it down. I'll let you know
what I find.
Brian
On 11/09/99, ""Geoff Winkless" <geoff AT farmline.com>" wrote:
> Bob Kline <bkline AT rksystems.com> writes:
>
> > What happens if you throw in a call to dbcancel()?
>
> If I replace the NO_MORE_RESULTS loop with
>
> dbcancel(dbproc);
>
> exactly the same problem. And I get some "Unknown marker: 2!!" messages
> coming back (but that's probably cos I'm using MS SQL 7).
>
> incidentally I realised that dbcmd() does a strcat() onto the current
> string, not a strcpy - so the string was getting longer and longer... I'm
> amazed it hasn't crashed... :)
>
> However using dbfreebuf just after dbsqlexec makes no difference, I still
> get this leak.
>
> Any more hints appreciated...
>
> Thanks
>
> Geoff
-
memory leaks in dblib/tds,
Geoff Winkless, 11/09/1999
- <Possible follow-up(s)>
- Re: memory leaks in dblib/tds, Bob Kline, 11/09/1999
- Re: memory leaks in dblib/tds, Geoff Winkless, 11/09/1999
- Re: memory leaks in dblib/tds, Brian Bruns, 11/09/1999
- Re: memory leaks in dblib/tds, Brian Bruns, 11/09/1999
- Re: memory leaks in dblib/tds, Geoff Winkless, 11/10/1999
Archive powered by MHonArc 2.6.24.