summaryrefslogtreecommitdiffstats
path: root/plugins/omoracle
diff options
context:
space:
mode:
authorLuis Fernando Muñoz Mejías <Luis.Fernando.Munoz.Mejias@cern.ch>2009-04-15 16:53:17 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-16 15:25:29 +0200
commit24fcd96203c9b8b84a8414cea19dcb3ba989c9ba (patch)
treef480a0872b22aafb0258e3190023320469509760 /plugins/omoracle
parent65a85de3d97ab6bc427ea005b75e4b416013de3c (diff)
downloadrsyslog-24fcd96203c9b8b84a8414cea19dcb3ba989c9ba.tar.gz
rsyslog-24fcd96203c9b8b84a8414cea19dcb3ba989c9ba.tar.xz
rsyslog-24fcd96203c9b8b84a8414cea19dcb3ba989c9ba.zip
Fixed a mem leak
Diffstat (limited to 'plugins/omoracle')
-rw-r--r--plugins/omoracle/omoracle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/omoracle/omoracle.c b/plugins/omoracle/omoracle.c
index 02f83551..12efd61c 100644
--- a/plugins/omoracle/omoracle.c
+++ b/plugins/omoracle/omoracle.c
@@ -310,6 +310,7 @@ CODESTARTfreeInstance
OCIHandleFree(pData->authinfo, OCI_HTYPE_AUTHINFO);
OCIHandleFree(pData->statement, OCI_HTYPE_STMT);
free(pData->connection);
+ free(pData->txt_statement);
for (i = 0; i < pData->batch.arguments; i++) {
for (j = 0; j < pData->batch.size; j++)
free(pData->batch.parameters[i][j]);