Remove unnecessary NULL checks before g_free()
g_free() is NULL-safe
This commit is contained in:
parent
6463ff198e
commit
71c2ddd07d
@ -1091,8 +1091,7 @@ done:
|
||||
if (bdata)
|
||||
gst_buffer_unmap (buf, &map);
|
||||
|
||||
if (mdata)
|
||||
g_free (mdata);
|
||||
g_free (mdata);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user