[gstreamer-bugs] [Bug 159215] Memory leaks in audioscale
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Wed Nov 24 06:53:42 PST 2004
http://bugzilla.gnome.org/show_bug.cgi?id=159215
GStreamer | gst-plugins | Ver: 0.8.5
------- Additional Comments From sc5 at hermes.usherb.ca 2004-11-24 09:53 -------
I added the following code to resample.c
void
gst_resample_close (gst_resample_t * r)
{
if (r->buffer) {
free (r->buffer);
r->buffer = NULL;
r->buffer_len = 0;
}
if (r->hack_union.s.out_tmp) {
free (r->hack_union.s.out_tmp);
r->hack_union.s.out_tmp = NULL;
r->hack_union.s.out_tmp_len = 0;
}
}
Calling this function from audioscale's dispose method gets rid of the memory
leaks.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list