freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
- To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] ODBC memory leak?
- Date: Fri, 7 Mar 2003 11:02:50 +0100
> > 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*.
>
This is false, consider :
void **p;
...
p[2] = malloc(12);
and
void *p;
...
p[2] = malloc(12);
They're not equivalent, but void** is convertible implicitly in void*.
freddy77
=================================
"STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."
=================================
-
[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.