From c01c527cb9a5bbb7f3f43ed0258ee59828472d4f Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 25 Feb 2008 05:50:51 -0600 Subject: [PATCH] Fix potential memory leak --- core/compiler/units/units.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/compiler/units/units.factor b/core/compiler/units/units.factor index 5fcf7b3047..9f1976bec4 100755 --- a/core/compiler/units/units.factor +++ b/core/compiler/units/units.factor @@ -42,7 +42,7 @@ definition-observers global [ V{ } like ] change-at GENERIC: definitions-changed ( assoc obj -- ) : add-definition-observer ( obj -- ) - definition-observers get push ; + definition-observers get push-new ; : remove-definition-observer ( obj -- ) definition-observers get delete ;