[svn:parrot] r48068 - trunk/compilers/imcc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Jul 11 01:10:12 UTC 2010
Author: bacek
Date: Sun Jul 11 01:10:11 2010
New Revision: 48068
URL: https://trac.parrot.org/parrot/changeset/48068
Log:
Fix memory leak in IMCC: free proper field.
Modified:
trunk/compilers/imcc/pbc.c
Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c Sat Jul 10 17:27:15 2010 (r48067)
+++ trunk/compilers/imcc/pbc.c Sun Jul 11 01:10:11 2010 (r48068)
@@ -1465,7 +1465,7 @@
if (unit->vtable_name) {
vtable_name = Parrot_str_new(interp, unit->vtable_name + 1,
strlen(unit->vtable_name) - 2);
- UNIT_FREE_CHAR(unit->method_name);
+ UNIT_FREE_CHAR(unit->vtable_name);
}
else
vtable_name = sub->name;
More information about the parrot-commits
mailing list