mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
qtmux: free date tag
This commit is contained in:
parent
1912c86946
commit
cc526d2e52
1 changed files with 2 additions and 0 deletions
|
@ -613,6 +613,8 @@ gst_qt_mux_add_mp4_date (GstQTMux * qtmux, const GstTagList * list,
|
|||
month = g_date_get_month (date);
|
||||
day = g_date_get_day (date);
|
||||
|
||||
g_date_free (date);
|
||||
|
||||
if (year == G_DATE_BAD_YEAR && month == G_DATE_BAD_MONTH &&
|
||||
day == G_DATE_BAD_DAY) {
|
||||
GST_WARNING_OBJECT (qtmux, "invalid date in tag");
|
||||
|
|
Loading…
Reference in a new issue