diff --git a/src/modules/everything/evry.c b/src/modules/everything/evry.c index 80eecdcdd..b1a516a21 100644 --- a/src/modules/everything/evry.c +++ b/src/modules/everything/evry.c @@ -1512,7 +1512,7 @@ _evry_state_new(Evry_Selector *sel, Eina_List *plugins) if (!s) return NULL; - s->inp = malloc(INPUTLEN); + s->inp = calloc(1, INPUTLEN); s->inp[0] = 0; s->input = s->inp; s->plugins = plugins; diff --git a/src/modules/everything/evry_plug_apps.c b/src/modules/everything/evry_plug_apps.c index 0ab6dc2b3..3130a034c 100644 --- a/src/modules/everything/evry_plug_apps.c +++ b/src/modules/everything/evry_plug_apps.c @@ -1548,7 +1548,7 @@ _scan_idler(void *data EINA_UNUSED) EINA_LIST_FREE(exe_files, s) { - ee = malloc(sizeof(E_Exe)); + ee = calloc(1, sizeof(E_Exe)); if (!ee) continue ; ee->path = s;