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 <[EMAIL PROTECTED]>:
> 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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/swfdec
>
>
_______________________________________________
Swfdec mailing list
Swfdec@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/swfdec

Reply via email to