Branch: Tag:

2005-04-06

2005-04-06 17:52:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed more leaks.

Rev: src/las.c:1.362

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.361 2005/04/06 17:37:37 grubba Exp $ + || $Id: las.c,v 1.362 2005/04/06 17:52:46 grubba Exp $   */      #include "global.h"
3906:    if (!(op_node = find_module_identifier(op_string, 0))) {    my_yyerror("Internally used efun undefined for token %d: %S",    n->token, op_string); +  free_string(op_string);    copy_pike_type(n->type, mixed_type_string);    break;    } -  +     if (!op_node->type) {    fix_type_field(op_node);    }
3934:    break;    }    my_yyerror("Bad arguments to %S.", op_string); +  free_string(op_string);    yytype_error(NULL, op_node->type ? op_node->type : mixed_type_string,    call_type, 0);    free_node(op_node);