/* Since: 2.8 Returns: the allocated memory, or NULL  */
gpointer g_try_malloc0(gsize n_bytes)
/* Since: 2.8 Returns: the allocated memory, or NULL  */
gpointer g_try_malloc0(gsize n_bytes)
{
  gpointer mem;
  if (G_LIKELY (n_bytes))
    mem = calloc (1, n_bytes);
  else
    mem = NULL;
  return mem;
}