From 85212909fe6766928130f26fefade1fcf8af5ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 20 Nov 1999 04:41:15 +0100 Subject: [PATCH] Fixed memory leak. Rev: src/las.c:1.118 --- src/las.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/las.c b/src/las.c index ed88908e2a..42b3548e82 100644 --- a/src/las.c +++ b/src/las.c @@ -5,7 +5,7 @@ \*/ /**/ #include "global.h" -RCSID("$Id: las.c,v 1.117 1999/11/19 21:08:05 grubba Exp $"); +RCSID("$Id: las.c,v 1.118 1999/11/20 03:41:15 grubba Exp $"); #include "language.h" #include "interpret.h" @@ -1975,6 +1975,7 @@ void fix_type_field(node *n) !CDR(n) || CDR(n)->type == void_type_string) { yyerror("Conditional contains void expression."); copy_shared_string(n->type, mixed_type_string); + break; } if(!match_types(CAR(n)->type,mixed_type_string)) yyerror("Bad conditional expression."); -- GitLab