mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
effectv/shagadelictv: remove unnecessary NULL checks before g_free()
This commit is contained in:
parent
24e689c57e
commit
7defb23371
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue