On 01/15/2015 07:21 AM, Emil Velikov wrote:
> Using this we clear the global state thus the user can call waffle_init()
> multiple times, as things won't get clobbered.
> According to gl_basic we cleanup ~20K of leaks (still reachable) and catch
> a bug in the GL/dri2 loader :-)

We catch a bug! Fantastic.

Recently, I've also been digging through the EGL/dri2 loader interfaces.
And there are many leaks in the EGL code :(

> 
> Before:
>     definitely lost: 63 bytes in 4 blocks
>     still reachable: 43,695 bytes in 116 blocks
> 
> After:
>     definitely lost: 87 bytes in 5 blocks
>     still reachable: 23,451 bytes in 55 blocks
> 
> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
> ---
>  examples/gl_basic.c       | 6 +++++-
>  examples/simple-x11-egl.c | 5 +++++
>  2 files changed, 10 insertions(+), 1 deletion(-)

Looks good. Patch 2 is
Reviewed-by: Chad Versace <chad.vers...@intel.com>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle

Reply via email to