blob: 996149b2e797df4e86e6bd2936004dc33f886f11 (
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_X_RANDR
#include "common.h"
/**
* Release all resources held by a partition state
*
* @param this The partition state
*/
void
libgamma_x_randr_partition_destroy(struct libgamma_partition_state *restrict this)
{
struct libgamma_x_randr_partition_data *restrict data = this->data;
free(data->crtcs);
free(data->outputs);
free(data->crtc_to_output);
free(data);
}
|