From 6a20efb7855846eec377543780714ea127a16bbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Sun, 9 Mar 2008 18:36:34 +0100
Subject: [PATCH] Should now compile and link... Fixed some newly introduced
 leaks.

Rev: src/interpret.c:1.389
---
 src/interpret.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/interpret.c b/src/interpret.c
index e797e73243..ae78337a9e 100644
--- a/src/interpret.c
+++ b/src/interpret.c
@@ -2,7 +2,7 @@
 || 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: interpret.c,v 1.388 2008/03/09 17:28:20 grubba Exp $
+|| $Id: interpret.c,v 1.389 2008/03/09 17:36:34 grubba Exp $
 */
 
 #include "global.h"
@@ -2343,7 +2343,7 @@ PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset)
     dummy.func.offset = offset;
     dummy.opt_flags = 0;
     dummy_ref.identifier_offset = Pike_compiler->new_program->num_identifiers;
-    debug_add_to_identifiers(dummy);
+    add_to_identifiers(dummy);
     add_to_identifier_references(dummy_ref);
   }
 
@@ -2396,6 +2396,8 @@ PMOD_EXPORT int apply_low_safe_and_stupid(struct object *o, INT32 offset)
 
   if (use_dummy_reference) {
     /* Pop the dummy identifier. */
+    free_type(function_type_string);
+    free_string(empty_pike_string);
     Pike_compiler->new_program->num_identifier_references--;
     Pike_compiler->new_program->num_identifiers--;
   }
-- 
GitLab