Alexandre Julliard : user32: Remove redundant LocalUnlock calls.

Alexandre Julliard julliard at winehq.org
Mon Apr 21 07:45:55 CDT 2008


Module: wine
Branch: master
Commit: fe4706940c0d43a2c4c294698ac6a3f2ace09c92
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fe4706940c0d43a2c4c294698ac6a3f2ace09c92

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Apr 21 11:58:20 2008 +0200

user32: Remove redundant LocalUnlock calls.

---

 dlls/user32/edit.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index dba946b..6178b20 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) {




More information about the wine-cvs mailing list