From fe4706940c0d43a2c4c294698ac6a3f2ace09c92 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 21 Apr 2008 11:58:20 +0200 Subject: [PATCH] user32: Remove redundant LocalUnlock calls. --- dlls/user32/edit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c index dba946b6b4b..6178b207f48 100644 --- a/dlls/user32/edit.c +++ b/dlls/user32/edit.c @@ -4254,11 +4254,9 @@ static LRESULT EDIT_WM_Destroy(EDITSTATE *es) LINEDEF *pc, *pp; if (es->hloc32W) { - while (LocalUnlock(es->hloc32W)) ; LocalFree(es->hloc32W); } if (es->hloc32A) { - while (LocalUnlock(es->hloc32A)) ; LocalFree(es->hloc32A); } if (es->hloc16) {