It works OK, but I can see some potentially serious mistakes:
203: "f" should be "d" (http://developer.gnome.org/glib/2.30/glib-GVariant.html#GVariantClass)
235: Missing g_free() loop: for (i = 0; i < nItems; i++) if (array[i]) g_free(array[i]);
239: g_free() on calloc'd block (214). Either change g_free() to free(), or calloc() to g_malloc0().
« Back to merge proposal
It works OK, but I can see some potentially serious mistakes:
203: "f" should be "d" developer. gnome.org/ glib/2. 30/glib- GVariant. html#GVariantCl ass)
(http://
235: Missing g_free() loop:
g_ free(array[ i]);
for (i = 0; i < nItems; i++)
if (array[i])
239: g_free() on calloc'd block (214). Either change g_free() to free(), or calloc() to g_malloc0().