flxdec: remove unnecessary NULL check before g_free()

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-11-14 20:14:25 -08:00
parent 557ae0fabd
commit 3374c00d43

View file

@ -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);
}