Commit d44ec680 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

kernel32: Fix memory leak in WCEL_FindPrevInHist.

parent 16c51fbe
...@@ -469,6 +469,7 @@ static void WCEL_FindPrevInHist(WCEL_Context* ctx) ...@@ -469,6 +469,7 @@ static void WCEL_FindPrevInHist(WCEL_Context* ctx)
return; return;
} }
} }
HeapFree(GetProcessHeap(), 0, data);
} while (ctx->histPos != startPos); } while (ctx->histPos != startPos);
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment