fixe some leaks
This commit is contained in:
parent
10ff285727
commit
3bf8abe178
1 changed files with 19 additions and 0 deletions
19
42sh/src/main/content_free.c
Normal file
19
42sh/src/main/content_free.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* content_free.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/03/15 16:05:27 by gwojda #+# #+# */
|
||||
/* Updated: 2017/03/15 16:35:18 by gwojda ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "minishell.h"
|
||||
|
||||
void content_free(void *data, size_t content_size)
|
||||
{
|
||||
(void)content_size;
|
||||
free(data);
|
||||
}
|
||||
Loading…
Reference in a new issue