Commit e868ac2c authored by Stefan Kost's avatar Stefan Kost
Browse files

ext/faad/gstfaad.c: Don't leak GstAudioChannelPosition. Fixes #529378.

Original commit message from CVS:
* ext/faad/gstfaad.c:
Don't leak GstAudioChannelPosition. Fixes #529378.
parent c64da416
2008-04-22 Stefan Kost <ensonic@users.sf.net>
* ext/faad/gstfaad.c:
Don't leak GstAudioChannelPosition. Fixes #529378.
2008-04-22 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/sdp/gstsdpdemux.c: (request_pt_map):
......
......@@ -443,7 +443,7 @@ static GstAudioChannelPosition *
gst_faad_chanpos_to_gst (GstFaad * faad, guchar * fpos, guint num,
gboolean * channel_map_failed)
{
GstAudioChannelPosition *pos = g_new (GstAudioChannelPosition, num);
GstAudioChannelPosition *pos;
guint n;
gboolean unknown_channel = FALSE;
......@@ -459,6 +459,7 @@ gst_faad_chanpos_to_gst (GstFaad * faad, guchar * fpos, guint num,
return NULL;
}
pos = g_new (GstAudioChannelPosition, num);
for (n = 0; n < num; n++) {
GST_DEBUG_OBJECT (faad, "faad channel %d as %d", n, fpos[n]);
switch (fpos[n]) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment