Pass the right hwnd to ReleaseDC().
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index a579a41..d93ec47 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c
@@ -9440,7 +9440,7 @@ if(hFont != 0) SelectObject(hdc, hOldFont); - ReleaseDC(infoPtr->hwndSelf, hdc); + ReleaseDC(infoPtr->hwndEdit, hdc); break; }