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


/**
 * Release resources that are held by a gamma ramp strcuture that
 * has been allocated by `libgamma_gamma_ramps_initialise` or otherwise
 * initialises in the proper manner
 * 
 * @param  this  The gamma ramps
 */
void
libgamma_gamma_ramps16_destroy(struct libgamma_gamma_ramps16 *restrict this)
{
	free(this->red);
}