mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 10:28:58 +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.