16.06.2016 20:33, Thomas Huth wrote: > There is no need to make sure that the memory is zeroed after the > allocation if we also immediatly fill the whole buffer afterwards > with memcpy(). Thus g_new0 should be g_new instead. But since we > are also doing a memcpy() here, we can also simply replace both > with g_memdup() instead.
Applied to -trivial, thanks! /mjt