From 6e054dfc3d77469c3856adfe6fe320456a9d7631 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 27 Mar 2012 15:43:44 +0200 Subject: [PATCH] alsa: fix small caps leak --- ext/alsa/gstalsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c index 78c5c86..19a9ee0 100644 --- a/ext/alsa/gstalsa.c +++ b/ext/alsa/gstalsa.c @@ -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; } } -- 2.7.4