audiotrack: fix caps leak

This commit is contained in:
Tim-Philipp Müller 2014-10-26 20:31:08 +00:00
parent 4ecb7c88fb
commit 0f809b481b

View file

@ -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;
}