From 8b875055eceb720e14ddac8f6096d08b532c7b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Fri, 27 Oct 2006 08:23:25 +0000 Subject: [PATCH] Fix to prevent potential memory leak, dunno if that actually helps --- src/event/event.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/event/event.js b/src/event/event.js index 7a61773d..6d889836 100644 --- a/src/event/event.js +++ b/src/event/event.js @@ -1597,6 +1597,7 @@ new function(){ var handler = function() { // unbind itself when executed element.unbind(o, handler); + element = null; // apply original handler with the same arguments f.apply(this, arguments); };