summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hiatt <jeremy@brilliant.tech>2017-06-01 01:15:05 +0000
committerSebastian Dröge <sebastian@centricular.com>2017-06-12 10:04:27 +0300
commit97e727c1e7879e2be0dae9018566576782c96197 (patch)
tree1faf180c850b0d1b13a7f3613486f9706279cded
parent04265cafa2f578b2dc71b732a474452727d94e21 (diff)
downloadgstreamer-plugins-bad-97e727c1e7879e2be0dae9018566576782c96197.tar.gz
glutils: Fix GValue leak in gst_gl_value_set_texture_target_from_mask()
-rw-r--r--gst-libs/gst/gl/gstglutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c
index b18b803de..628586143 100644
--- a/gst-libs/gst/gl/gstglutils.c
+++ b/gst-libs/gst/gl/gstglutils.c
@@ -718,6 +718,7 @@ gst_gl_value_set_texture_target_from_mask (GValue * value,
ret = TRUE;
}
+ g_value_unset(&item);
return ret;
}
}