[svn:parrot] r46037 - trunk/src
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Mon Apr 26 17:48:36 UTC 2010
Author: NotFound
Date: Mon Apr 26 17:48:36 2010
New Revision: 46037
URL: https://trac.parrot.org/parrot/changeset/46037
Log:
fix the number of debug mappings allocated
Modified:
trunk/src/packfile.c
Modified: trunk/src/packfile.c
==============================================================================
--- trunk/src/packfile.c Mon Apr 26 15:09:33 2010 (r46036)
+++ trunk/src/packfile.c Mon Apr 26 17:48:36 2010 (r46037)
@@ -2749,7 +2749,7 @@
/* Allocate space for mappings vector. */
debug->mappings = mem_gc_allocate_n_zeroed_typed(interp,
- debug->num_mappings + 1, PackFile_DebugFilenameMapping);
+ debug->num_mappings, PackFile_DebugFilenameMapping);
/* Read in each mapping. */
for (i = 0; i < debug->num_mappings; i++) {
More information about the parrot-commits
mailing list