glutils: Fix GValue leak in gst_gl_value_set_texture_target_from_mask()
authorJeremy Hiatt <jeremy@brilliant.tech>
Thu, 1 Jun 2017 01:15:05 +0000 (01:15 +0000)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 12 Jun 2017 07:00:48 +0000 (10:00 +0300)
gst-libs/gst/gl/gstglutils.c

index 16a866e..a9eed59 100644 (file)
@@ -779,6 +779,7 @@ gst_gl_value_set_texture_target_from_mask (GValue * value,
       ret = TRUE;
     }
 
+    g_value_unset(&item);
     return ret;
   }
 }