summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-11-14 20:14:25 -0800
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-11-15 01:43:08 -0800
commit3374c00d439a50a29bccd5b2c2f9b30c6e4b3549 (patch)
tree7240e519ed121b38813b61ec4030833f894ea20f
parent557ae0fabde248466fd20ab024cd1f3177b7631c (diff)
flxdec: remove unnecessary NULL check before g_free()
-rw-r--r--gst/flx/gstflxdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c
index 3df4e9b86..71fd880fa 100644
--- a/gst/flx/gstflxdec.c
+++ b/gst/flx/gstflxdec.c
@@ -596,8 +596,7 @@ gst_flxdec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
break;
}
- if (chunk)
- g_free (chunk);
+ g_free (chunk);
avail = gst_adapter_available (flxdec->adapter);
}