aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_dummy_site_destroy.c
blob: f0d71ce6287166ad9d589836d857a6baed964d61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* See LICENSE file for copyright and license details. */
#define IN_LIBGAMMA_DUMMY
#include "common.h"


/**
 * Release all resources held by a site state
 * 
 * @param  this  The site state
 */
void
libgamma_dummy_site_destroy(libgamma_site_state_t *restrict this)
{
	libgamma_dummy_site_t *data = this->data;
	if (data) {
		free(data->partitions);
		free(data);
	}
}