Riccardo Magliocchetti
2008-Nov-19 21:15 UTC
[Swfdec] [PATCH] really shut up pulse audio backend
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 -------------- next part -------------- A non-text attachment was scrubbed... Name: really-shut-up-noise-and-this-is-a-silly-patch.diff Type: text/x-diff Size: 700 bytes Desc: not available Url : http://lists.freedesktop.org/archives/swfdec/attachments/20081119/24bb3033/attachment.diff
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
>
>