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
This commit is contained in:
Scott Hughes 2011-05-25 15:18:13 -04:00 committed by timmywil
parent 408c98fb4b
commit 287156197f

View File

@ -582,6 +582,8 @@ jQuery.extend({
}
}
srcElements = destElements = null;
// Return the cloned set
return clone;
},