summaryrefslogtreecommitdiff
path: root/gsk/gskshaderbuilder.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-20 21:12:36 +0200
committerTimm Bäder <mail@baedert.org>2016-10-21 06:45:22 +0200
commit81c12493ae632f0bd28066ac787316a73a007150 (patch)
treef1ff76e7259bf8cd0f1914759d5132c2d049bbdd /gsk/gskshaderbuilder.c
parentc07f395a4f0554e9366d0cb213b767c60446bc01 (diff)
downloadgtk+-81c12493ae632f0bd28066ac787316a73a007150.tar.gz
Fix a few memory leaks
Diffstat (limited to 'gsk/gskshaderbuilder.c')
-rw-r--r--gsk/gskshaderbuilder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsk/gskshaderbuilder.c b/gsk/gskshaderbuilder.c
index f5a66a947f..65c779af4f 100644
--- a/gsk/gskshaderbuilder.c
+++ b/gsk/gskshaderbuilder.c
@@ -65,6 +65,8 @@ gsk_shader_builder_finalize (GObject *gobject)
GskShaderBuilder *self = GSK_SHADER_BUILDER (gobject);
g_free (self->resource_base_path);
+ g_free (self->vertex_preamble);
+ g_free (self->fragment_preamble);
g_clear_pointer (&self->defines, g_ptr_array_unref);
g_clear_pointer (&self->uniforms, g_ptr_array_unref);