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
1.7/enhancement_8685
Scott Hughes 2011-05-25 15:18:13 -04:00 committed by timmywil
parent 408c98fb4b
commit 287156197f
1 changed files with 2 additions and 0 deletions

View File

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