[Bug 763998] New: ahc: use g_slice_new instead of g_slice_new0
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Mar 21 16:18:47 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763998
Bug ID: 763998
Summary: ahc: use g_slice_new instead of g_slice_new0
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: martin at surround.io
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 324478
--> https://bugzilla.gnome.org/attachment.cgi?id=324478&action=edit
0001-ahc-use-g_slice_new-instead-of-g_slice_new0.patch
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.
--
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