mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
wavparse: remove unnecessary NULL checks before g_free()
This commit is contained in:
parent
fd4d33b0fa
commit
678e45a8f7
1 changed files with 2 additions and 4 deletions
|
@ -1691,10 +1691,8 @@ gst_wavparse_stream_headers (GstWavParse * wav)
|
||||||
/* ERROR */
|
/* ERROR */
|
||||||
exit:
|
exit:
|
||||||
{
|
{
|
||||||
if (codec_name)
|
g_free (codec_name);
|
||||||
g_free (codec_name);
|
g_free (header);
|
||||||
if (header)
|
|
||||||
g_free (header);
|
|
||||||
if (caps)
|
if (caps)
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue