Ninja Coder - 2008-05-11

Seems like drip labels things as leaks even when they are not.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" >
  <title>Memory Checker</title>
<div id="foo"></div>
<script type="text/javascript">
var fooEl = document.getElementById('foo');
for(var i=0; i< 100; i++)
  // this line by itself is a leak in drip
  var d = document.createElement('div'); 

  // this removes the leak in drip
  // this line would once again be counted as a leak in drip
  // These don't help
  //d = null;
  //delete d;
fooEl = null;