mirror of
https://github.com/Savapitech/42sh.git
synced 2026-03-18 21:50:35 +01:00
Fix jobs leaks
This commit is contained in:
1
FIX.md
1
FIX.md
@@ -8,3 +8,4 @@
|
||||
- [ ] Fix CTRL+E and ->
|
||||
- [ ] Multi line editing
|
||||
- [ ] Foreach in if
|
||||
- [ ] Output flushing when open an other shell with 42sh
|
||||
|
||||
@@ -55,4 +55,5 @@ int builtins_if(ef_t *ef, char **args);
|
||||
int builtins_echo(ef_t *ef, char **args);
|
||||
int builtins_astprint(ef_t *, char **args);
|
||||
int builtins_termname(ef_t *ef, char **);
|
||||
int builtins_fg(ef_t *ef, char **);
|
||||
#endif /* BUILTIND_H */
|
||||
|
||||
@@ -26,4 +26,5 @@ void free_everything(exec_ctx_t *ec)
|
||||
}
|
||||
free(ec->history_command);
|
||||
free(ec->local->local_var);
|
||||
free(ec->jobs.jobs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user