if (identifier_found && !was_string && paramindex < paramcount)
Warn("excess parameters for attribute '%s': '%s'", attrib, params[paramindex]);
- g_strfreev(params);
+ freeStringArray(params);
return identifier_found;
}
for (i = 0; split[i] != 0; i++)
result = result && replay_store_from_bdcff(replay, split[i]);
- g_strfreev(split);
+ freeStringArray(split);
return result;
}
identifier_found = struct_set_property(cave, gd_cave_properties, attrib, param, cave->w * cave->h);
}
- g_strfreev(params);
+ freeStringArray(params);
/* a ghrfunc should return true if the identifier is to be removed */
return identifier_found;
else
Warn("invalid effect specification '%s'", param);
- g_strfreev(params);
+ freeStringArray(params);
}
else
{
Warn(_("Invalid BDCFF: [game] section has drawing objects defined"));
/* cleanup */
- g_strfreev (lines);
+ freeStringArray(lines);
g_hash_table_destroy(tags);
g_hash_table_destroy(replay_tags);
gd_cave_free(default_cave);
return NULL;
if (words)
- g_strfreev(words);
+ freeStringArray(words);
words = getSplitStringArray(param, " ", -1);
l = g_strv_length(words);