Fixed memory leak.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 20 Aug 2013 13:36:34 -0400
changeset 1334 8214ccf21d36
parent 1333 baecd71ae0e7
child 1335 1b9a72908ece
Fixed memory leak.
src/platform_windows.c
--- a/src/platform_windows.c	Tue Jul 16 12:51:54 2013 -0400
+++ b/src/platform_windows.c	Tue Aug 20 13:36:34 2013 -0400
@@ -412,6 +412,7 @@
     } /* if */
 
     sprintf(retval, "%s\\%s\\%s\\", utf8, org, app);
+    allocator.Free(utf8);
     return retval;
 } /* __PHYSFS_platformCalcPrefDir */