JayThirtySeven/gosu — comment on commit a2976ebe3167916e5b2a63ed9995846e39ad61b5
File: GosuImpl/WindowX.cpp line 274
By JayThirtySeven:

Working to fix this in the improved version, but this line is potentially fatal: XLib documentation for XFree() says the "A NULL pointer cannot be passed to this function"; I don't know what happens when you do, but I assume it will segfault by trying to free a null pointer. This bug will not be present in the improved version, but I wanted to point it out ASAP because it could cause a crash.