diff --git a/dlls/kernel32/editline.c b/dlls/kernel32/editline.c index bcfdeceb82f..e685e1e5a94 100644 --- a/dlls/kernel32/editline.c +++ b/dlls/kernel32/editline.c @@ -469,6 +469,7 @@ static void WCEL_FindPrevInHist(WCEL_Context* ctx) return; } } + HeapFree(GetProcessHeap(), 0, data); } while (ctx->histPos != startPos); return;