diff options
author | Scott Hughes <hi@scott-hughes.me> | 2011-05-25 15:18:13 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-25 15:18:13 -0400 |
commit | 287156197f296fcbcb8be11aa8ce6f1b819aeda6 (patch) | |
tree | e7681b724e904c28a9d886b022bebc2784ae170a | |
parent | 408c98fb4b8c1b6957cfe620711f9ea7645293ba (diff) | |
download | jquery-287156197f296fcbcb8be11aa8ce6f1b819aeda6.tar.gz jquery-287156197f296fcbcb8be11aa8ce6f1b819aeda6.zip |
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
-rw-r--r-- | src/manipulation.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; }, |