develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35882 - trunk/compilers/imcc

From:
bernhard
Date:
January 22, 2009 04:06
Subject:
[svn:parrot] r35882 - trunk/compilers/imcc
Message ID:
20090122120555.DC8F1CB9AE@x12.develooper.com
Author: bernhard
Date: Thu Jan 22 04:05:55 2009
New Revision: 35882

Modified:
   trunk/compilers/imcc/pbc.c

Log:
[C] give free the memory for 'name'

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	(original)
+++ trunk/compilers/imcc/pbc.c	Thu Jan 22 04:05:55 2009
@@ -2178,6 +2178,7 @@
             interp->code->annotations = (PackFile_Annotations *)
                     PackFile_Segment_new_seg(interp, dir,
                         PF_ANNOTATIONS_SEG, name, add);
+            mem_sys_free(name);
             interp->code->annotations->code = interp->code;
 
             /* Create initial group. */



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About