From: Scott Hughes Date: Wed, 25 May 2011 19:18:13 +0000 (-0400) Subject: Landing pull request 389. Null elements in clone to avoid memory leak in IE. Fixes... X-Git-Tag: 1.6.2rc1~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=287156197f296fcbcb8be11aa8ce6f1b819aeda6;p=jquery.git 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 --- diff --git a/src/manipulation.js b/src/manipulation.js index a148658f5..c76aa9e0d 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -582,6 +582,8 @@ jQuery.extend({ } } + srcElements = destElements = null; + // Return the cloned set return clone; },