diff options
Diffstat (limited to 'vendor/libftm/src/mat/ftm_matdestroy.c')
| -rw-r--r-- | vendor/libftm/src/mat/ftm_matdestroy.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/libftm/src/mat/ftm_matdestroy.c b/vendor/libftm/src/mat/ftm_matdestroy.c new file mode 100644 index 0000000..4d39270 --- /dev/null +++ b/vendor/libftm/src/mat/ftm_matdestroy.c @@ -0,0 +1,19 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ftm_matdestroy.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/05/11 12:56:00 by charles #+# #+# */ +/* Updated: 2020/05/11 12:59:41 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#include "libftm_mat.h" + +void ftm_matdestroy(t_ftmmat *mat) +{ + free(mat->m); + free(mat); +} |
