Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
break; }
is_cloned = FALSE;LIST_FOR_EACH_ENTRY(monitor2, &monitors, struct monitor, entry){if (EqualRect(&monitor2->rc_monitor, &monitor->rc_monitor)){is_cloned = TRUE;break;}}if (is_cloned)continue;
If the monitor to be added is the last monitor and is a cloned replica, this will leak the monitor pointer.