Branch: Tag:

2005-02-18

2005-02-18 13:32:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed memory leak in recursive_add_call_arg().

Rev: src/las.c:1.327

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: las.c,v 1.326 2004/10/11 16:41:48 mast Exp $ + || $Id: las.c,v 1.327 2005/02/18 13:32:34 grubba Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.326 2004/10/11 16:41:48 mast Exp $"); + RCSID("$Id: las.c,v 1.327 2005/02/18 13:32:34 grubba Exp $");      #include "language.h"   #include "interpret.h"
1725:    node *tmp;       if (!n) { -  /* Earlier parse error. */ -  return NULL; +  /* Earlier parse error, or empty argument list. */ +  return arg;    }       switch(n->token)