[backend-egl] fix clutter_backend_egl_get_visual_info to not use Xalloc
authorRobert Bragg <robert@linux.intel.com>
Thu, 20 Aug 2009 10:53:37 +0000 (11:53 +0100)
committerRobert Bragg <robert@linux.intel.com>
Mon, 21 Sep 2009 22:06:44 +0000 (23:06 +0100)
commitb710ed0eeace5561ccec1b1558ad26abb4af0da3
tree47f7e4a163846170fa6586edbff772efa5a0ada3
parent6e50e26c86af20597b118f5a71d04f70b173f733
[backend-egl] fix clutter_backend_egl_get_visual_info to not use Xalloc

It looks like the intention was to duplicate an XVisualInfo in such a way
that the pointer could be returned and then later freed using XFree.  But
Xalloc isn't an Xlib counterpart to XFree; Xlib doesn't provide a general
purpose malloc wrapper afik.  By shuffling things about a bit, it was
possible to avoid the need for this hack.
clutter/eglx/clutter-backend-egl.c