Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
access: fix typo (thus memory corruption)
  • Loading branch information
perexg committed Dec 16, 2016
1 parent df9bd3e commit a80de84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/access.c
Expand Up @@ -631,7 +631,7 @@ access_update(access_t *a, access_entry_t *ae)
}

if (ae->ae_change_lang_ui) {
free(ae->ae_lang_ui);
free(a->aa_lang_ui);
if (ae->ae_lang_ui && ae->ae_lang_ui[0])
a->aa_lang_ui = lang_code_user(ae->ae_lang_ui);
else if ((s = config_get_language_ui()) != NULL)
Expand Down

0 comments on commit a80de84

Please sign in to comment.