From: Jörn Zaefferer Date: Fri, 27 Oct 2006 08:23:25 +0000 (+0000) Subject: Fix to prevent potential memory leak, dunno if that actually helps X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=8b875055eceb720e14ddac8f6096d08b532c7b5f Fix to prevent potential memory leak, dunno if that actually helps --- diff --git a/src/event/event.js b/src/event/event.js index 7a61773..6d88983 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); };