From 0e1303a2943c905d3ae6f9eaeaee2c466e3ec563 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 18 Jun 2015 18:02:21 -0400 Subject: [PATCH] glviewconvert: Fix broken validity check --- gst-libs/gst/gl/gstglviewconvert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglviewconvert.c b/gst-libs/gst/gl/gstglviewconvert.c index 9890175edf..76ecabbf03 100644 --- a/gst-libs/gst/gl/gstglviewconvert.c +++ b/gst-libs/gst/gl/gstglviewconvert.c @@ -718,8 +718,8 @@ _expand_par_for_half_aspect (GstCaps * in, gboolean vertical_half_aspect) features ? gst_caps_features_copy (features) : NULL); gst_structure_free (s); - if (features); - gst_caps_features_free (features); + if (features) + gst_caps_features_free (features); } gst_caps_unref (in);