mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
![Robert Bragg](/assets/img/avatar_default.png)
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.