mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
b710ed0eea
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.