mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-07 02:58:22 +02:00
freeScreenInfo() is called from ddxGiveUp() during normal server shutdown. If the server then aborts (e.g. due to the leak sanitizer detecting leaks at exit), the signal handler calls AbortServer() which calls ddxGiveUp() again, causing a double-free of pXWDHeader. NULL out the pointer after freeing it to make the second call a no-op. |
||
|---|---|---|
| .. | ||
| man | ||
| .gitignore | ||
| InitInput.c | ||
| InitOutput.c | ||
| Makefile.am | ||
| meson.build | ||