diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-14 20:05:03 -0800 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-11-15 01:43:08 -0800 |
commit | 7defb233710546ccf4d493995321894f5d96768a (patch) | |
tree | 5d8edfb84ab4da4f4e36191ebc7a7c7ef87bbe8e | |
parent | 24e689c57e6b5b558c55d72dbb273c0e1ebb12ea (diff) |
effectv/shagadelictv: remove unnecessary NULL checks before g_free()
-rw-r--r-- | gst/effectv/gstshagadelic.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/effectv/gstshagadelic.c b/gst/effectv/gstshagadelic.c index 956e5dd59..2564cb330 100644 --- a/gst/effectv/gstshagadelic.c +++ b/gst/effectv/gstshagadelic.c @@ -215,12 +215,10 @@ gst_shagadelictv_finalize (GObject * object) { GstShagadelicTV *filter = GST_SHAGADELICTV (object); - if (filter->ripple) - g_free (filter->ripple); + g_free (filter->ripple); filter->ripple = NULL; - if (filter->spiral) - g_free (filter->spiral); + g_free (filter->spiral); filter->spiral = NULL; G_OBJECT_CLASS (parent_class)->finalize (object); |