diff options
Diffstat (limited to 'apps/exec.c')
-rw-r--r-- | apps/exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/exec.c b/apps/exec.c index 726544d..e7cfcd8 100644 --- a/apps/exec.c +++ b/apps/exec.c @@ -30,6 +30,7 @@ void on_submit(struct gui_event_keyboard *event, struct element *elem) u8 l = strlen(PATH) + strlen(inp) + 1; char *final = malloc(l); + final[0] = '\0'; strcat(final, PATH); strcat(final, inp); |