Free with free() and not g_free() what has been allocated with calloc().