Commit 187072c3 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

media: Fix a memory leak

This was introduced in e7dc82fa.
parent d15b0afc
Pipeline #273589 passed with stages
in 13 minutes and 18 seconds
......@@ -142,6 +142,8 @@ gtk_gst_media_file_ensure_prepared (GtkGstMediaFile *self)
gst_player_media_info_get_video_streams (media_info) != NULL,
gst_player_media_info_is_seekable (media_info),
FROM_GST_TIME (gst_player_media_info_get_duration (media_info)));
g_object_unref (media_info);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment