free(*(char **)cfg.entries[i]);
if (strlen(value) == 0) {
/* If the new value is empty, clear the config
setting */
*(char **)cfg.entries[i] = NULL;
free(*(char **)cfg.entries[i]);
if (strlen(value) == 0) {
/* If the new value is empty, clear the config
setting */
*(char **)cfg.entries[i] = NULL;