-
Notifications
You must be signed in to change notification settings - Fork 0
/
solution_destroy.c
20 lines (18 loc) · 1.02 KB
/
solution_destroy.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* solution_destroy.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: Alex <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/08 14:58:55 by alex #+# #+# */
/* Updated: 2020/05/05 16:15:48 by Alex ### ########.fr */
/* */
/* ************************************************************************** */
#include "./includes/lem_in.h"
void solution_destroy(t_solution *solution)
{
free(solution->paths);
free(solution->ants_per_path);
free(solution);
}