alsa: fix small caps leak
This commit is contained in:
parent
c6f55538e3
commit
6e054dfc3d
@ -495,6 +495,7 @@ subroutine_error:
|
|||||||
{
|
{
|
||||||
GST_ERROR_OBJECT (obj, "failed to query formats");
|
GST_ERROR_OBJECT (obj, "failed to query formats");
|
||||||
snd_pcm_hw_params_free (hw_params);
|
snd_pcm_hw_params_free (hw_params);
|
||||||
|
gst_caps_unref (caps);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user