aboutsummaryrefslogtreecommitdiffstats
path: root/libglitter_create_render_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglitter_create_render_context.c')
-rw-r--r--libglitter_create_render_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libglitter_create_render_context.c b/libglitter_create_render_context.c
index 9dd7871..63ece5a 100644
--- a/libglitter_create_render_context.c
+++ b/libglitter_create_render_context.c
@@ -43,7 +43,8 @@ libglitter_create_render_context(size_t noutputs, size_t rowsize, size_t widthmu
return this;
fail:
- libglitter_free_render_context(this);
+ free(this->cellweights_double);
+ free(this);
return NULL;
}