freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Craig Davison <cd AT securityfocus.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ODBC memory leak?
- Date: Thu, 6 Mar 2003 11:04:32 -0700
On Thu, Mar 06, 2003 at 03:56:44PM +0100, ZIGLIO Frediano wrote:
>
> Your code have some line wrong
>
> Wrong
> SQLFreeHandle(SQL_HANDLE_STMT, &hStmt);
>
> Correct
> SQLFreeHandle(SQL_HANDLE_STMT, hStmt);
>
You're absolutely right. Thanks for noticing that.
Hope I didn't waste too much of your time with that. :)
> You must pass handle, not a pointer to handle (handle are defined as void*,
> so you didn't received errors... very bad odbc definition)
Right, because void** is equivalent to void*.
Thanks for your help.
--
Craig Davison
Symantec Corporation
+1 (403) 213-3939 ext. 228
-
[freetds] ODBC memory leak?,
Craig Davison, 03/06/2003
- Re: [freetds] ODBC memory leak?, James K. Lowden, 03/06/2003
- <Possible follow-up(s)>
-
RE: [freetds] ODBC memory leak?,
ZIGLIO Frediano, 03/06/2003
-
Re: [freetds] ODBC memory leak?,
Nick Gorham, 03/06/2003
- Re: [freetds] ODBC memory leak?, Craig Davison, 03/06/2003
- Re: [freetds] ODBC memory leak?, Craig Davison, 03/06/2003
-
Re: [freetds] ODBC memory leak?,
Nick Gorham, 03/06/2003
- RE: [freetds] ODBC memory leak?, ZIGLIO Frediano, 03/07/2003
Archive powered by MHonArc 2.6.24.