diff options
-rw-r--r-- | connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/evoab2/NResultSet.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx index a83de24bc724..11742c183746 100644 --- a/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx +++ b/connectivity/source/drivers/evoab2/NDatabaseMetaData.cxx @@ -1170,7 +1170,8 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables( aRows.push_back(aRow); } - g_list_free_full (pSources, g_object_unref); + g_list_foreach (pSources, (GFunc)g_object_unref, NULL); + g_list_free (pSources); } else { diff --git a/connectivity/source/drivers/evoab2/NResultSet.cxx b/connectivity/source/drivers/evoab2/NResultSet.cxx index 4baf3ae54800..154db40a94a8 100644 --- a/connectivity/source/drivers/evoab2/NResultSet.cxx +++ b/connectivity/source/drivers/evoab2/NResultSet.cxx @@ -405,7 +405,8 @@ public: break; } } - g_list_free_full (pSources, g_object_unref); + g_list_foreach (pSources, (GFunc)g_object_unref, NULL); + g_list_free (pSources); if (!id) return NULL; |