[icinga-checkins] icinga.org: icinga-core/next: ido2db: Oracle fix wrong freed lob variables #4357

git at icinga.org git at icinga.org
Sun Jun 30 16:56:34 CEST 2013


Module: icinga-core
Branch: next
Commit: 82a87cd0eaa355f0678374025f0838cc75c30d51
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=82a87cd0eaa355f0678374025f0838cc75c30d51

Author: Thomas Dressler <tdressler at tdressler.net>
Date:   Sat Jun 29 12:44:28 2013 +0200

ido2db: Oracle fix wrong freed lob variables #4357
refs #4357

---

 module/idoutils/src/dbqueries.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/module/idoutils/src/dbqueries.c b/module/idoutils/src/dbqueries.c
index 0a58bcb..25073d5 100644
--- a/module/idoutils/src/dbqueries.c
+++ b/module/idoutils/src/dbqueries.c
@@ -1176,8 +1176,8 @@ int ido2db_query_insert_or_update_eventhandlerdata_add(ido2db_idi *idi, void **d
 		ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_query_insert_or_update_eventhandlerdata() bind clob error\n");
 	}
 	//free lobs
-	if (lob_oi !=NULL) OCI_LobFree(lob_loi);
-	if (lob_ou !=NULL) OCI_LobFree(lob_lou);
+	if (lob_oi !=NULL) OCI_LobFree(lob_oi);
+	if (lob_ou !=NULL) OCI_LobFree(lob_ou);
 	if (lob_loi !=NULL) OCI_LobFree(lob_loi);
 	if (lob_lou !=NULL) OCI_LobFree(lob_lou);
 





More information about the icinga-checkins mailing list