[svn:parrot] r43304 - branches/boehm_gc/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Dec 29 10:20:03 UTC 2009


Author: bacek
Date: Tue Dec 29 10:20:02 2009
New Revision: 43304
URL: https://trac.parrot.org/parrot/changeset/43304

Log:
Fix strdup vs mem_sys_strdup in PackfileFixupEntry PMC.

Modified:
   branches/boehm_gc/src/pmc/packfilefixupentry.pmc

Modified: branches/boehm_gc/src/pmc/packfilefixupentry.pmc
==============================================================================
--- branches/boehm_gc/src/pmc/packfilefixupentry.pmc	Tue Dec 29 09:57:50 2009	(r43303)
+++ branches/boehm_gc/src/pmc/packfilefixupentry.pmc	Tue Dec 29 10:20:02 2009	(r43304)
@@ -98,7 +98,7 @@
                 mem_allocate_zeroed_typed(PackFile_FixupEntry);
 
         entry->type     = attrs->type;
-        entry->name     = strdup(Parrot_string_cstring(interp, attrs->name));
+        entry->name     = mem_sys_strdup(Parrot_string_cstring(interp, attrs->name));
         entry->offset   = attrs->offset;
         return entry;
     }


More information about the parrot-commits mailing list