aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/compatlib/informix.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-06-26 09:20:30 +0000
committerMichael Meskes <meskes@postgresql.org>2006-06-26 09:20:30 +0000
commita503fd36344c7c6a00198fdadb80205f1412c54d (patch)
tree41c19071f22a59519238f1894a42158d0237a6db /src/interfaces/ecpg/compatlib/informix.c
parentb4595d71f2a7f1c33c74a28721c4dff95118b3ce (diff)
downloadpostgresql-a503fd36344c7c6a00198fdadb80205f1412c54d.tar.gz
postgresql-a503fd36344c7c6a00198fdadb80205f1412c54d.zip
Added some more coverity report patches send in by Joachim Wieland <joe@mcknight.de>.
Diffstat (limited to 'src/interfaces/ecpg/compatlib/informix.c')
-rw-r--r--src/interfaces/ecpg/compatlib/informix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/compatlib/informix.c b/src/interfaces/ecpg/compatlib/informix.c
index f45655b6f3e..3e1189382dc 100644
--- a/src/interfaces/ecpg/compatlib/informix.c
+++ b/src/interfaces/ecpg/compatlib/informix.c
@@ -415,6 +415,7 @@ dectoint(decimal *np, int *ip)
}
ret = PGTYPESnumeric_to_int(nres, ip);
+ PGTYPESnumeric_free(nres);
if (ret == PGTYPES_NUM_OVERFLOW)
ret = ECPG_INFORMIX_NUM_OVERFLOW;