ges-launcher: don't unref transfer none objects
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 10 Aug 2021 21:20:21 +0000 (23:20 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Sat, 14 Aug 2021 16:07:56 +0000 (18:07 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/265>

tools/ges-launcher.c

index 596aa17..f4609b1 100644 (file)
@@ -440,7 +440,8 @@ get_smart_profile (GESLauncher * self)
     gst_discoverer_stream_info_list_free (audio_streams);
     gst_discoverer_stream_info_list_free (video_streams);
   }
-  g_list_free_full (assets, gst_object_unref);
+
+  g_list_free (assets);
 
   if (possible_profiles) {
     possible_profiles = g_list_sort (possible_profiles, sort_encoding_profiles);