[Bug 730133] motioncells:fix memleak
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed May 14 12:36:53 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=730133
GStreamer | gst-plugins-bad | 1.x
Nicola <lists> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #276548|0 |1
is obsolete| |
--- Comment #5 from Nicola <lists at svrinformatica.it> 2014-05-14 19:36:49 UTC ---
Created an attachment (id=276556)
View: https://bugzilla.gnome.org/attachment.cgi?id=276556
Review: https://bugzilla.gnome.org/review?bug=730133&attachment=276556
fix memleak
the patch seems big now but I simply replaced:
gst_buffer_map (buf, &info, GST_MAP_WRITE)
with
if (gst_buffer_map (buf, &info, GST_MAP_WRITE)) {
...
}
and added the else cause, other then this the only change are the two
gst_buffer_unmap needed to avoid the memleaks
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list