+ if(!lang_entry) {
+ lang_entry = malloc(sizeof(*lang_entry));
+ if (!lang_entry) {
+ printf_log("main", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__);
+ return;
+ }
+ lang_entry->ident = strdup(ident);
+ lang_entry->next = lang->entrys[cindex];
+ lang->entrys[cindex] = lang_entry;
+ } else
+ free(lang_entry->text); //free old text (new one will be set below)