mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
utils: Fix double free in error case
This was detected by Coverity. The content point would have been freed gain in the done: label. CID 1461289
This commit is contained in:
parent
81770eda7e
commit
4bc9f73650
1 changed files with 0 additions and 1 deletions
|
@ -662,7 +662,6 @@ done:
|
|||
return structures;
|
||||
|
||||
failed:
|
||||
g_free (content);
|
||||
if (structures)
|
||||
g_list_free_full (structures, (GDestroyNotify) gst_structure_free);
|
||||
structures = NULL;
|
||||
|
|
Loading…
Reference in a new issue