base: avoid buffer duplication on corner-case
base: avoid buffer duplication on corner-case

If pad_alloc_buffer() fails, we should either put the buffer back in the
queue, or send it to the DSP, but not both.

The problem was introduced by the commit:
2bc7c95 base: check EOS before reallocating out buffer

Cc: Tommi Myöhänen <a0cdac14498c734dbab3a89545c79252eb8ab08b@digia.com>
Signed-off-by: Felipe Contreras <de77a8b9cd239b204c19c52ed62e48ab47243362@nokia.com>

community-ssu/gst-dsp,community-ssu/gst-dsp,felipec/gst-dsp,community-ssu/gst-dsp,felipec/gst-dsp