[gstreamer-bugs] [Bug 385311] Memory leak initializing lame mp3 encoder plugin (gstlame.c)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Dec 12 18:50:32 PST 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=385311
GStreamer | gst-plugins-ugly | Ver: HEAD CVS
------- Comment #2 from Roland Kay 2006-12-13 02:49 UTC -------
On a related point, lame_init() can return NULL in the event that it cannot
allocate required memory. Thus, it might be nice to add a call to g_error()
similar to:
g_error ("%s: failed to allocate %lu bytes", G_STRLOC, n_bytes);
This would give an informative message rather than just seg faulting and would
be more consistent with GStreamer's handling of out of memory conditions.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list