diff dmd/Util.d @ 2:7427ded8caf7

Removed unreferenced modules First step at fixing GC issues - now calling GC.malloc instead of malloc (ditto calloc and realloc), get rid of free
author korDen
date Sun, 25 Oct 2009 03:20:59 +0300
parents 10317f0c89a5
children 2cc604139636
line wrap: on
line diff
--- a/dmd/Util.d	Sat Oct 24 17:25:59 2009 +0400
+++ b/dmd/Util.d	Sun Oct 25 03:20:59 2009 +0300
@@ -151,7 +151,7 @@
 					if (real_argv0) {
 						filename = FileName.replaceName(real_argv0, inifile);
 		version (linux) {
-						free(real_argv0);
+						///free(real_argv0);
 		}
 						if (FileName.exists(filename)) {
 							goto Ldone;