mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
stats: always free log
We always want to free the open file log if fopen() succeeded. Independently of if fgets() succeeds or fails. CID 1326055 https://bugzilla.gnome.org/show_bug.cgi?id=756864
This commit is contained in:
parent
45f0f354ac
commit
587b95a857
1 changed files with 1 additions and 1 deletions
|
@ -836,10 +836,10 @@ collect_stats (const gchar * filename)
|
|||
}
|
||||
}
|
||||
}
|
||||
fclose (log);
|
||||
} else {
|
||||
GST_WARNING ("empty log");
|
||||
}
|
||||
fclose (log);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue