extra: lets be a bit more secure

This commit is contained in:
Marcel Hollerbach 2017-01-31 21:06:59 +01:00
parent 2dfd1b4733
commit 6cda810903
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ _fill_themes(Eina_Strbuf *buf)
versionNumb = atoi(eina_strbuf_string_get(obj->version));
theme = malloc(sizeof(*theme));
theme = calloc(1, sizeof(*theme));
theme->theme.id = sec_strdup(obj->id);
theme->theme.name = sec_strdup(obj->name);
theme->theme.author = sec_strdup(obj->author);