GNOME Bugzilla – Bug 763998
ahc: use g_slice_new instead of g_slice_new0
Last modified: 2016-03-24 13:02:43 UTC
Created attachment 324478 [details] [review] 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.
commit d6a17cd3cc5e56a87047f259036c713f8c66d821 Author: Martin Kelly <martin@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