jquery/jquery — pull request #1565 by redbmk (2014-04-24 20:25:51+00:00)
Title: Event: Memory Leak bugfix

I found that Elements with events on them are not being garbage collected after being removed from the DOM, which can create a memory leak (more noticeable on larger applications). I wasn't able to write a unit test to show this, but I did create a new HTML file in the test directory that will walk you through how to test it manually. The existing unit tests still all pass.

Since the handle function is called with the element passed into it as `this`, I believe it's safe to again use `this` in place of `elem`.