Call fileio_terminate for FILE_AsyncWriteService

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed May 25 20:03:46 CDT 2005


Changelog:
	wine/dlls/ntdll/file.c: FILE_AsyncWriteService
	Plug memory leak by calling fileio_terminate when no more pending
	output 
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/ntdll/file.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/file.c,v
retrieving revision 1.88
diff -u -r1.88 file.c
--- wine/dlls/ntdll/file.c	20 May 2005 19:16:37 -0000	1.88
+++ wine/dlls/ntdll/file.c	26 May 2005 00:24:24 -0000
@@ -627,6 +631,8 @@
         }
         if (iosb->u.Status == STATUS_PENDING)
             fileio_queue_async(fileio, iosb, FALSE);
+        else
+            fileio_terminate(fileio, iosb);
         break;
     default:
         iosb->u.Status = status;



More information about the wine-patches mailing list