aboutsummaryrefslogblamecommitdiffstats
path: root/libgamma_gamma_ramps64_free.c
blob: 3096222526c44d5f8c6c9ecaa93829bd54482549 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                         
                                                                         



                        
/* 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_ramps64_initialise` or otherwise
 * initialises in the proper manner, as well as release the pointer
 * to the structure
 * 
 * @param  this  The gamma ramps
 */
void
libgamma_gamma_ramps64_free(struct libgamma_gamma_ramps64 *restrict this)
{
	free(this->red);
	free(this);
}