Alexandre Julliard : user32: Remove redundant LocalUnlock calls.
Module: wine Branch: master Commit: fe4706940c0d43a2c4c294698ac6a3f2ace09c92 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe4706940c0d43a2c4c294698a... Author: Alexandre Julliard <julliard(a)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) {
participants (1)
-
Alexandre Julliard