[Bug 39522] New: Valgrind shows a leak in itemdlg tests