From 7794e9205ca27de103cb1dccda52daa248c98d25 Mon Sep 17 00:00:00 2001 From: Lukas Zeller Date: Mon, 15 Mar 2010 09:37:27 +0100 Subject: engine: compilable again without engineinterface and AsKey --- src/DB_interfaces/api_db/pluginapids.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DB_interfaces/api_db/pluginapids.cpp b/src/DB_interfaces/api_db/pluginapids.cpp index ca11384..17c49f8 100755 --- a/src/DB_interfaces/api_db/pluginapids.cpp +++ b/src/DB_interfaces/api_db/pluginapids.cpp @@ -1167,7 +1167,9 @@ localstatus TPluginApiDS::apiReadSyncSet(bool aNeedAll) #endif if (dberr!=LOCERR_OK) { PDEBUGPRINTFX(DBG_ERROR,("DBapi::ReadNextItem fatal error = %hd",dberr)); + #if defined(DBAPI_ASKEYITEMS) && defined(ENGINEINTERFACE_SUPPORT) if (mfitemP) delete mfitemP; + #endif goto endread; } // check if we have seen all items -- cgit v1.2.3