more issues
---
 src/imm/immloadd/imm_pbe_load.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/imm/immloadd/imm_pbe_load.cc b/src/imm/immloadd/imm_pbe_load.cc
index 72b926383..5f5aefcec 100644
--- a/src/imm/immloadd/imm_pbe_load.cc
+++ b/src/imm/immloadd/imm_pbe_load.cc
@@ -449,7 +449,6 @@ bool loadObjectFromPbe(void *pbeHandle, SaImmHandleT 
immHandle,
   sqlite3 *dbHandle = (sqlite3 *)pbeHandle;
   sqlite3_stmt *stmt = NULL;
   int rc = 0;
-  char *zErr = NULL;
   int ncols = 0;
   int c;
   std::string sqlF("select \"");
@@ -506,9 +505,8 @@ bool loadObjectFromPbe(void *pbeHandle, SaImmHandleT 
immHandle,
 
   rc = sqlite3_step(stmt);
   if (rc != SQLITE_ROW && rc != SQLITE_DONE) {
-    LOG_IN("Could not access table '%s', error:%s",
-           class_info->className.c_str(), zErr);
-    sqlite3_free(zErr);
+    LOG_IN("Could not access table '%s'",
+           class_info->className.c_str());
     goto bailout;
   }
 
@@ -575,7 +573,6 @@ bool loadObjectFromPbe(void *pbeHandle, SaImmHandleT 
immHandle,
   rc = sqlite3_step(stmt);
   if (rc != SQLITE_DONE) {
     LOG_ER("Expected 1 row got more rows");
-    sqlite3_free(zErr);
     goto bailout;
   }
 
-- 
2.21.1


-----------------------------------------------------------------------------------------------------------------------
Notice: This e-mail together with any attachments may contain information of 
Ribbon Communications Inc. that
is confidential and/or proprietary for the sole use of the intended recipient.  
Any review, disclosure, reliance or
distribution by others or forwarding without express permission is strictly 
prohibited.  If you are not the intended
recipient, please notify the sender immediately and then delete all copies, 
including any attachments.
-----------------------------------------------------------------------------------------------------------------------

_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to