aboutsummaryrefslogblamecommitdiffstats
path: root/libgamma_dummy_site_destroy.c
blob: eabebfc1e7bd2ca3c1773c699e5f522edfbc83a9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                         
                         








                                             
                                                                      
 
                                                      




                                       
/* 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(struct libgamma_site_state *restrict this)
{
	struct libgamma_dummy_site *data = this->data;
	if (data) {
		free(data->partitions);
		free(data);
	}
}