Bug #1484 » 0094-entry_new-Initialize-entry-type-with-ENTRY_ILLEGAL.patch
| utility/registry_ini.c | ||
|---|---|---|
|   } else { | ||
|     pentry->name = fc_strdup(name); | ||
|   } | ||
|   pentry->type = -1;    /* Invalid case. */ | ||
|   pentry->type = ENTRY_ILLEGAL; | ||
|   pentry->used = 0; | ||
|   pentry->comment = nullptr; | ||