kernel32: Fix memory leak in WCEL_FindPrevInHist.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2016-06-23 01:25:24 -06:00 committed by Alexandre Julliard
parent 16c51fbe17
commit d44ec680da
1 changed files with 1 additions and 0 deletions

View File

@ -469,6 +469,7 @@ static void WCEL_FindPrevInHist(WCEL_Context* ctx)
return;
}
}
HeapFree(GetProcessHeap(), 0, data);
} while (ctx->histPos != startPos);
return;