Signed-off-by: Sven Baars sven.wine@gmail.com --- dlls/kernelbase/thread.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/kernelbase/thread.c b/dlls/kernelbase/thread.c index f633dfa3de..d60e3b1a47 100644 --- a/dlls/kernelbase/thread.c +++ b/dlls/kernelbase/thread.c @@ -868,6 +868,7 @@ LPVOID WINAPI DECLSPEC_HOTPATCH CreateFiberEx( SIZE_T stack_commit, SIZE_T stack if ((status = RtlCreateUserStack( stack_commit, stack_reserve, 0, 1, 1, &stack ))) { SetLastError( RtlNtStatusToDosError(status) ); + HeapFree( GetProcessHeap(), 0, fiber ); return NULL; }