Remove unnecessary NULL checks before g_free()

g_free() is NULL-safe
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-11-17 15:23:17 -08:00
parent 6463ff198e
commit 71c2ddd07d

View file

@ -1091,8 +1091,7 @@ done:
if (bdata)
gst_buffer_unmap (buf, &map);
if (mdata)
g_free (mdata);
g_free (mdata);
return ret;
}