[Bug 763998] ahc: use g_slice_new instead of g_slice_new0

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 24 13:02:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763998

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit d6a17cd3cc5e56a87047f259036c713f8c66d821
Author: Martin Kelly <martin at surround.io>
Date:   Tue Mar 15 16:22:59 2016 -0700

    ahc: use g_slice_new instead of g_slice_new0

    In many cases, we use g_slice_new0 and then immediately overwrite the
    allocated memory. This is inefficient. Since we're going to immediately
    overwrite it, we might as well use plain g_slice_new.

    https://bugzilla.gnome.org/show_bug.cgi?id=763998

-- 
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