alsasink: fix caps leak in acceptcaps function

https://bugzilla.gnome.org/show_bug.cgi?id=681192
This commit is contained in:
Tim-Philipp Müller 2012-10-20 11:38:55 +01:00
parent 277ca04976
commit ccbb233da8

View file

@ -377,6 +377,7 @@ gst_alsasink_acceptcaps (GstAlsaSink * alsa, GstCaps * caps)
ret = TRUE;
done:
gst_caps_replace (&spec.caps, NULL);
return ret;
}