extra: lets be a bit more secure
This commit is contained in:
parent
2dfd1b4733
commit
6cda810903
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue