In trying to debug some memory leaks in a webapp I'm working on, I've discovered a memory leak jQuery UI.
I don't think I'm misusing it or making an error on my own-- I've isolated my test case down to a small file that simply imports the library and does nothing else.
This only seems to happen in IE7, which is a problem because it still has a large (corporate) userbase.
Using Microsoft's memoryleak detection, I think I've narrowed it down to this line in the Datepicker plugin:
this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'));
because it's this in 1.8.12:
this.dpDiv = $('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>');
Can anyone else replicate the leaks? What can I do about this?