From abc749bfb38ce6c1cfb818bbc0da1cfbd0451bfe Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 27 Aug 2020 16:14:40 +0200 Subject: Freed pipe leaks on builtins --- src/s_lpipes.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/s_lpipes.h') diff --git a/src/s_lpipes.h b/src/s_lpipes.h index 7b90d2c..5b2795a 100644 --- a/src/s_lpipes.h +++ b/src/s_lpipes.h @@ -15,11 +15,11 @@ #include "s_struct.h" -struct s_lpipes *lpipes_last(struct s_lpipes *lpipes); -void lpipes_add_back(struct s_lpipes **alpipes, +struct s_lpipes *s_lpipes_last(struct s_lpipes *lpipes); +void s_lpipes_add_back(struct s_lpipes **alpipes, struct s_lpipes *new); -void lpipes_clear(struct s_lpipes **lpipes); -struct s_lpipes *lpipes_new(const char pipedword[], t_msh *msh); -struct s_lpipes *split_pipes(const char word[], t_line *line, t_msh *msh); +void s_lpipes_clear(struct s_lpipes **lpipes); +struct s_lpipes *s_lpipes_new(const char pipedword[], t_msh *msh); +struct s_lpipes *s_split_pipes(const char word[], t_line *line, t_msh *msh); #endif -- cgit v1.2.3 From d742075e1af0c063ef9677f157263c0d45253f73 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 8 Sep 2020 19:32:40 +0200 Subject: Rework in progress --- src/s_lpipes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/s_lpipes.h') diff --git a/src/s_lpipes.h b/src/s_lpipes.h index 5b2795a..e2b3f40 100644 --- a/src/s_lpipes.h +++ b/src/s_lpipes.h @@ -20,6 +20,6 @@ void s_lpipes_add_back(struct s_lpipes **alpipes, struct s_lpipes *new); void s_lpipes_clear(struct s_lpipes **lpipes); struct s_lpipes *s_lpipes_new(const char pipedword[], t_msh *msh); -struct s_lpipes *s_split_pipes(const char word[], t_line *line, t_msh *msh); +struct s_lpipes *s_split_pipes(const char word[], t_msh *msh); #endif -- cgit v1.2.3