Commit e2e6b2d7 authored by Marc G. Fournier's avatar Marc G. Fournier

Fixes:

I forgot to clear out the variable created and the memory used.

From: darcy@druid.net (D'Arcy J.M. Cain)
parent 8738e47d
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.10 1997/01/11 14:24:40 scrappy Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.11 1997/01/11 14:28:51 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -391,7 +391,7 @@ Pg_disconnect(ClientData cData, Tcl_Interp *interp, int argc, char* argv[]) ...@@ -391,7 +391,7 @@ Pg_disconnect(ClientData cData, Tcl_Interp *interp, int argc, char* argv[])
**********************************/ **********************************/
int int
Pg_exec(AlientData cData, Tcl_Interp *interp, int argc, char* argv[]) Pg_exec(ClientData cData, Tcl_Interp *interp, int argc, char* argv[])
{ {
Pg_clientData *cd = (Pg_clientData *)cData; Pg_clientData *cd = (Pg_clientData *)cData;
PGconn *conn; PGconn *conn;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment