Kaydet (Commit) 428478b9 authored tarafından Caolán McNamara's avatar Caolán McNamara

no g_list_free_full in RHEL-6 glib

Change-Id: I213bb62c2a9318d98f0736cc23431dca3dfd4708
üst 07c3bc01
...@@ -1170,7 +1170,8 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables( ...@@ -1170,7 +1170,8 @@ Reference< XResultSet > SAL_CALL OEvoabDatabaseMetaData::getTables(
aRows.push_back(aRow); 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 else
{ {
......
...@@ -405,7 +405,8 @@ public: ...@@ -405,7 +405,8 @@ public:
break; break;
} }
} }
g_list_free_full (pSources, g_object_unref); g_list_foreach (pSources, (GFunc)g_object_unref, NULL);
g_list_free (pSources);
if (!id) if (!id)
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment