diff --git a/fish_shell/fish_core.c b/fish_shell/fish_core.c index b473d30..922b4f6 100644 --- a/fish_shell/fish_core.c +++ b/fish_shell/fish_core.c @@ -145,6 +145,7 @@ int fishLoad(WordArray *array) { } while (!WIFEXITED(status) && !WIFSIGNALED(status)); if (status) fprintf(stderr, "%s\n", getInsult()); } + freeWordArray(array); return status; }