]> source.dussan.org Git - jquery.git/commitdiff
Fix to prevent potential memory leak, dunno if that actually helps
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 08:23:25 +0000 (08:23 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Fri, 27 Oct 2006 08:23:25 +0000 (08:23 +0000)
src/event/event.js

index 7a61773da5b95a483a8e7909cd60a0de5110e703..6d889836967004337a188bcced7930789b5154eb 100644 (file)
@@ -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);
                        };