xserver/hw
Alan Coopersmith 84b57b8d32 xfree86: avoid memory leak on realloc failure
Found by Oracle Parfait 13.3 static analyzer:
   Memory leak [memory-leak]:
      Memory leak of pointer optname allocated with asprintf(&optname,
      "\"%s\"", p->name)
        at line 326 of hw/xfree86/common/xf86Configure.c in function
	'configureDeviceSection'.
          optname allocated at line 309 with asprintf(&optname, "\"%s\"",
	  p->name)

Fixes: code inherited from XFree86
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1730>
2024-10-31 16:22:47 +01:00
..
kdrive (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
vfb (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xfree86 xfree86: avoid memory leak on realloc failure 2024-10-31 16:22:47 +01:00
xnest include: dixfontstr.h: drop silent dependency on libxfont2 2024-10-31 15:28:48 +01:00
xquartz (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xwayland (submit/unexport-ddx-callbacks) os: rename ddx.h to ddx_priv.h 2024-08-29 20:51:22 +02:00
xwin xwin: fix memleak on freeing pixmaps 2024-10-31 15:39:06 +01:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00