From 0f809b481bf4eb181847a2321e8b768cf94e3598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 26 Oct 2014 20:31:08 +0000 Subject: [PATCH] audiotrack: fix caps leak --- ges/ges-audio-track.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ges/ges-audio-track.c b/ges/ges-audio-track.c index fce39be655..53830ae546 100644 --- a/ges/ges-audio-track.c +++ b/ges/ges-audio-track.c @@ -106,5 +106,7 @@ ges_audio_track_new (void) ges_track_set_create_element_for_gap_func (GES_TRACK (ret), create_element_for_raw_audio_gap); + gst_caps_unref (caps); + return ret; }