From 06ac28eb81a6c6586ffa57f4f72994902d5be559 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 10 Apr 2012 17:22:57 +0200 Subject: [PATCH] voaacenc: plug caps leak --- ext/voaacenc/gstvoaacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/voaacenc/gstvoaacenc.c b/ext/voaacenc/gstvoaacenc.c index 8ae31a0fe8..958de83cc4 100644 --- a/ext/voaacenc/gstvoaacenc.c +++ b/ext/voaacenc/gstvoaacenc.c @@ -243,7 +243,7 @@ static const GstAudioChannelPosition static gpointer gst_voaacenc_generate_sink_caps (gpointer data) { - GstCaps *caps = gst_caps_new_empty (); + GstCaps *caps; gint i, c; static const int rates[] = { 8000, 11025, 12000, 16000, 22050, 24000,