[Box Backup-commit] COMMIT r1944 - box/chris/general/lib/win32

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sat, 8 Dec 2007 21:29:30 +0000 (UTC)


Author: chris
Date: 2007-12-08 21:29:30 +0000 (Sat, 08 Dec 2007)
New Revision: 1944

Modified:
   box/chris/general/lib/win32/emu.cpp
Log:
Fix memory leak in [1942].


Modified: box/chris/general/lib/win32/emu.cpp
===================================================================
--- box/chris/general/lib/win32/emu.cpp	2007-12-08 18:34:19 UTC (rev 1943)
+++ box/chris/general/lib/win32/emu.cpp	2007-12-08 21:29:30 UTC (rev 1944)
@@ -1527,6 +1527,7 @@
 			0,                     // no data 
 			strings,               // pointer to string array 
 			NULL);                 // pointer to data 
+		delete [] pWide;
 	}
 		
 	if (result == 0)