mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dvdreadsrc: Fix string memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=785388
This commit is contained in:
parent
0d73cb55b1
commit
861cff5da1
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ gst_dvd_read_src_goto_title (GstDvdReadSrc * src, gint title, gint angle)
|
|||
lang_code[0] = (u->lang_code >> 8) & 0xff;
|
||||
lang_code[1] = u->lang_code & 0xff;
|
||||
gst_structure_set (s, t, G_TYPE_STRING, lang_code, NULL);
|
||||
g_free (t);
|
||||
t = g_strdup_printf ("subpicture-%d-stream", i);
|
||||
gst_structure_set (s, t, G_TYPE_INT, (int) sid, NULL);
|
||||
g_free (t);
|
||||
|
|
Loading…
Reference in a new issue