From 287156197f296fcbcb8be11aa8ce6f1b819aeda6 Mon Sep 17 00:00:00 2001 From: Scott Hughes Date: Wed, 25 May 2011 15:18:13 -0400 Subject: [PATCH] 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 --- src/manipulation.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/manipulation.js b/src/manipulation.js index a148658f..c76aa9e0 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -582,6 +582,8 @@ jQuery.extend({ } } + srcElements = destElements = null; + // Return the cloned set return clone; },