alsa: fix small caps leak

This commit is contained in:
Wim Taymans 2012-03-27 15:43:44 +02:00
parent c6f55538e3
commit 6e054dfc3d

View file

@ -495,6 +495,7 @@ subroutine_error:
{
GST_ERROR_OBJECT (obj, "failed to query formats");
snd_pcm_hw_params_free (hw_params);
gst_caps_unref (caps);
return NULL;
}
}