Skip to content

Commit 2871561

Browse files
Scott Hughestimmywil
authored andcommitted
Landing pull request 389. Null elements in clone to avoid memory leak in IE. Fixes #9341.
More Details: - jquery#389 - http://bugs.jquery.com/ticket/9341
1 parent 408c98f commit 2871561

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/manipulation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ jQuery.extend({
582582
}
583583
}
584584

585+
srcElements = destElements = null;
586+
585587
// Return the cloned set
586588
return clone;
587589
},

0 commit comments

Comments
 (0)