aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma_filter_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcoopgamma_filter_destroy.c')
-rw-r--r--libcoopgamma_filter_destroy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcoopgamma_filter_destroy.c b/libcoopgamma_filter_destroy.c
index 89765ad..84ee4a3 100644
--- a/libcoopgamma_filter_destroy.c
+++ b/libcoopgamma_filter_destroy.c
@@ -18,4 +18,9 @@ libcoopgamma_filter_destroy(libcoopgamma_filter_t *restrict this)
free(this->class);
free(this->ramps.u8.red);
memset(this, 0, sizeof(*this));
+ this->crtc = NULL;
+ this->class = NULL;
+ this->ramps.u8.red = NULL;
+ this->ramps.u8.green = NULL;
+ this->ramps.u8.blue = NULL;
}