Mercurial > projects > ddmd
diff dmd/codegen/Util.d @ 177:1475fd394c9e
bug fixes
author | korDen |
---|---|
date | Sun, 10 Oct 2010 10:38:55 +0400 |
parents | af724d3510d7 |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/codegen/Util.d Sun Oct 10 05:22:45 2010 +0400 +++ b/dmd/codegen/Util.d Sun Oct 10 10:38:55 2010 +0400 @@ -1132,7 +1132,7 @@ es.Eoper = OPER.OPstring; // Match MEM_PH_FREE for OPstring in ztc\el.c - es.EV.ss.Vstring = cast(char*)GC.malloc(len); /// ! + es.EV.ss.Vstring = cast(char*)malloc(len); /// ! memcpy(es.EV.ss.Vstring, &e.EV, len); es.EV.ss.Vstrlen = len;