[Swfdec] [PATCH] really shut up pulse audio backend

Benjamin Otte otte at gnome.org
Wed Nov 19 23:52:06 PST 2008


from my glib/gmem.c:

gpointer
g_try_malloc0 (gsize n_bytes)
{
  gpointer mem;

  mem = g_try_malloc (n_bytes);

  if (mem)
    memset (mem, 0, n_bytes);

  return mem;
}

I'm not gonna apply this patch, because it definitely is not the right
fix. If it does fix the problem, someone should investigate why
g_try_malloc0() fails and fix that.

Cheers,
Benjamin


2008/11/19 Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>:
> hi,
>
> attached you'll find what looks like a silly patch but for some reason
> g_try_malloc0 doesn't work as promised. Please apply and backport (with the
> the g_free hunk) to 0.8 to fix bugzilla #18616.
>
> thanks,
> riccardo
>
> _______________________________________________
> Swfdec mailing list
> Swfdec at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/swfdec
>
>


More information about the Swfdec mailing list