mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -377,6 +377,7 @@ gst_alsasink_acceptcaps (GstAlsaSink * alsa, GstCaps * caps)
|
|||
ret = TRUE;
|
||||
|
||||
done:
|
||||
gst_caps_replace (&spec.caps, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue