alsasink: fix caps leak in acceptcaps function
https://bugzilla.gnome.org/show_bug.cgi?id=681192
This commit is contained in:
parent
277ca04976
commit
ccbb233da8
@ -377,6 +377,7 @@ gst_alsasink_acceptcaps (GstAlsaSink * alsa, GstCaps * caps)
|
||||
ret = TRUE;
|
||||
|
||||
done:
|
||||
gst_caps_replace (&spec.caps, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user