user32: Remove redundant LocalUnlock calls.
authorAlexandre Julliard <julliard@winehq.org>
Mon, 21 Apr 2008 09:58:20 +0000 (11:58 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 21 Apr 2008 10:10:37 +0000 (12:10 +0200)
dlls/user32/edit.c

index dba946b6b4bd84498aaeb982150d83ec5128f072..6178b207f4810c4a421acb9f75dd34d11a4537f5 100644 (file)
@@ -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) {