summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib
diff options
context:
space:
mode:
authorMichael Meskes1999-12-07 10:29:18 +0000
committerMichael Meskes1999-12-07 10:29:18 +0000
commit54847b25d4fe268cd46d9a9a166dbe6e971e5373 (patch)
treea0fd6ef67978abf55341af282ef1b751ff08bd47 /src/interfaces/ecpg/lib
parent04fa5ca5449c1efcd484b3a6ec891b299513cdfd (diff)
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/lib')
-rw-r--r--src/interfaces/ecpg/lib/Makefile.in4
-rw-r--r--src/interfaces/ecpg/lib/ecpglib.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/lib/Makefile.in b/src/interfaces/ecpg/lib/Makefile.in
index 00265d9443f..ed3df4625a4 100644
--- a/src/interfaces/ecpg/lib/Makefile.in
+++ b/src/interfaces/ecpg/lib/Makefile.in
@@ -6,13 +6,13 @@
# Copyright (c) 1994, Regents of the University of California
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.52 1999/11/23 10:32:16 meskes Exp $
+# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile.in,v 1.53 1999/12/07 10:29:16 meskes Exp $
#
#-------------------------------------------------------------------------
NAME= ecpg
SO_MAJOR_VERSION= 3
-SO_MINOR_VERSION= 0.7
+SO_MINOR_VERSION= 0.8
SRCDIR= @top_srcdir@
include $(SRCDIR)/Makefile.global
diff --git a/src/interfaces/ecpg/lib/ecpglib.c b/src/interfaces/ecpg/lib/ecpglib.c
index 2d16cb72471..2cb0e105479 100644
--- a/src/interfaces/ecpg/lib/ecpglib.c
+++ b/src/interfaces/ecpg/lib/ecpglib.c
@@ -515,6 +515,8 @@ ECPGexecute(struct statement * stmt)
return false;
strcat(mallocedval, tmp);
+ free(tmp);
+
strcat(mallocedval, "'");
free(newcopy);
@@ -556,6 +558,8 @@ ECPGexecute(struct statement * stmt)
return false;
strcat(mallocedval, tmp);
+ free(tmp);
+
strcat(mallocedval, "'");
free(newcopy);