mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +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 */
|
||||
exit:
|
||||
{
|
||||
if (codec_name)
|
||||
g_free (codec_name);
|
||||
if (header)
|
||||
g_free (header);
|
||||
g_free (codec_name);
|
||||
g_free (header);
|
||||
if (caps)
|
||||
gst_caps_unref (caps);
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue