Commit 28715619 authored by Scott Hughes's avatar Scott Hughes Committed by timmywil

Landing pull request 389. Null elements in clone to avoid memory leak in IE. Fixes #9341.

More Details:
 - https://github.com/jquery/jquery/pull/389
 - http://bugs.jquery.com/ticket/9341
parent 408c98fb
...@@ -582,6 +582,8 @@ jQuery.extend({ ...@@ -582,6 +582,8 @@ jQuery.extend({
} }
} }
srcElements = destElements = null;
// Return the cloned set // Return the cloned set
return clone; return clone;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment