Branch: Tag:

2006-09-05

2006-09-05 12:10:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for [bug 4173 (#4173)] and [bug 4231 (#4231)] from Pike 7.7.

Rev: src/peep.c:1.100

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: peep.c,v 1.99 2005/05/18 12:36:53 mast Exp $ + || $Id: peep.c,v 1.100 2006/09/05 12:10:15 grubba Exp $   */      #include "global.h"
26:   #include "interpret.h"   #include "pikecode.h"    - RCSID("$Id: peep.c,v 1.99 2005/05/18 12:36:53 mast Exp $"); + RCSID("$Id: peep.c,v 1.100 2006/09/05 12:10:15 grubba Exp $");      static void asm_opt(void);   
72:    c=(p_instr *)instrbuf.s.str;    length=instrbuf.s.len / sizeof(p_instr);    -  for(e=0;e<length;e++) free_string(c->file); +  for(e=0;e<length;e++) free_string(c[e].file);       toss_buffer(&instrbuf);   }