gst/audioconvert/gstaudioconvert.c: fix memleak

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak
This commit is contained in:
Benjamin Otte 2004-04-25 17:56:11 +00:00
parent c17acf4260
commit 1cd4212d70
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-04-25 Benjamin Otte <otte@gnome.org>
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak
2004-04-23 Benjamin Otte <otte@gnome.org>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):

View file

@ -445,6 +445,8 @@ _fixate_caps_to_int (GstCaps ** caps, const gchar * field, gint value)
} else {
gst_caps_free (intersection);
}
} else {
gst_caps_free (intersection);
}
gst_caps_free (try);
for (i = 0; i < gst_caps_get_size (*caps); i++) {